1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2024-12-28 00:15:06 +00:00

Do not use style sheets to set font

This commit is contained in:
Andrei Kortunov 2024-05-12 11:45:02 +04:00
parent f595015ffc
commit abd4596cf8
2 changed files with 5 additions and 6 deletions

View File

@ -23,6 +23,11 @@ Wizard::MethodSelectionPage::MethodSelectionPage(QWidget* parent)
buyLinkButton->released();
#endif
QFont font = existingLocationRadioButton->font();
font.setBold(true);
existingLocationRadioButton->setFont(font);
retailDiscRadioButton->setFont(font);
registerField(QLatin1String("installation.retailDisc"), retailDiscRadioButton);
connect(buyLinkButton, &QPushButton::released, this, &MethodSelectionPage::handleBuyButton);

View File

@ -22,9 +22,6 @@
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<widget class="QRadioButton" name="retailDiscRadioButton">
<property name="styleSheet">
<string notr="true">font-weight:bold;</string>
</property>
<property name="text">
<string>Retail CD/DVD</string>
</property>
@ -81,9 +78,6 @@
</item>
<item>
<widget class="QRadioButton" name="existingLocationRadioButton">
<property name="styleSheet">
<string notr="true">font-weight:bold</string>
</property>
<property name="text">
<string>Existing Installation</string>
</property>