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:
parent
f595015ffc
commit
abd4596cf8
@ -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);
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user