mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2024-12-29 12:20:41 +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();
|
buyLinkButton->released();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
QFont font = existingLocationRadioButton->font();
|
||||||
|
font.setBold(true);
|
||||||
|
existingLocationRadioButton->setFont(font);
|
||||||
|
retailDiscRadioButton->setFont(font);
|
||||||
|
|
||||||
registerField(QLatin1String("installation.retailDisc"), retailDiscRadioButton);
|
registerField(QLatin1String("installation.retailDisc"), retailDiscRadioButton);
|
||||||
|
|
||||||
connect(buyLinkButton, &QPushButton::released, this, &MethodSelectionPage::handleBuyButton);
|
connect(buyLinkButton, &QPushButton::released, this, &MethodSelectionPage::handleBuyButton);
|
||||||
|
@ -22,9 +22,6 @@
|
|||||||
<layout class="QVBoxLayout" name="verticalLayout">
|
<layout class="QVBoxLayout" name="verticalLayout">
|
||||||
<item>
|
<item>
|
||||||
<widget class="QRadioButton" name="retailDiscRadioButton">
|
<widget class="QRadioButton" name="retailDiscRadioButton">
|
||||||
<property name="styleSheet">
|
|
||||||
<string notr="true">font-weight:bold;</string>
|
|
||||||
</property>
|
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Retail CD/DVD</string>
|
<string>Retail CD/DVD</string>
|
||||||
</property>
|
</property>
|
||||||
@ -81,9 +78,6 @@
|
|||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<widget class="QRadioButton" name="existingLocationRadioButton">
|
<widget class="QRadioButton" name="existingLocationRadioButton">
|
||||||
<property name="styleSheet">
|
|
||||||
<string notr="true">font-weight:bold</string>
|
|
||||||
</property>
|
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Existing Installation</string>
|
<string>Existing Installation</string>
|
||||||
</property>
|
</property>
|
||||||
|
Loading…
Reference in New Issue
Block a user