Qt: Reenable WinPanel style for patches

Partial revert of 7eb2b07.

Looks much worse in Fusion/default style.
pull/3480/head
Stenzek 4 months ago
parent 97a0f4669f
commit 792b72b955
No known key found for this signature in database

@ -92,7 +92,6 @@ void GamePatchSettingsWidget::reloadList()
if (!patches.empty())
{
m_ui.scrollArea->setFrameStyle(QFrame::WinPanel | QFrame::Sunken);
layout->setContentsMargins(0, 0, 0, 0);
bool first = true;
@ -117,8 +116,6 @@ void GamePatchSettingsWidget::reloadList()
}
else
{
m_ui.scrollArea->setFrameStyle(QFrame::NoFrame);
QLabel* label = new QLabel(tr("No patches are available for this game."), container);
QFont font(label->font());
font.setPointSizeF(font.pointSizeF() + 2.0f);

@ -25,6 +25,9 @@
</property>
<item>
<widget class="QScrollArea" name="scrollArea">
<property name="frameShape">
<enum>QFrame::Shape::WinPanel</enum>
</property>
<property name="horizontalScrollBarPolicy">
<enum>Qt::ScrollBarPolicy::ScrollBarAlwaysOff</enum>
</property>

Loading…
Cancel
Save