From abd4596cf8fbc60fefb8670574a9f4b6f16b5597 Mon Sep 17 00:00:00 2001 From: Andrei Kortunov Date: Sun, 12 May 2024 11:45:02 +0400 Subject: [PATCH] Do not use style sheets to set font --- apps/wizard/methodselectionpage.cpp | 5 +++++ apps/wizard/ui/methodselectionpage.ui | 6 ------ 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/apps/wizard/methodselectionpage.cpp b/apps/wizard/methodselectionpage.cpp index 1c80608a17..4447cb60f7 100644 --- a/apps/wizard/methodselectionpage.cpp +++ b/apps/wizard/methodselectionpage.cpp @@ -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); diff --git a/apps/wizard/ui/methodselectionpage.ui b/apps/wizard/ui/methodselectionpage.ui index ed6f91159d..61bf81433f 100644 --- a/apps/wizard/ui/methodselectionpage.ui +++ b/apps/wizard/ui/methodselectionpage.ui @@ -22,9 +22,6 @@ - - font-weight:bold; - Retail CD/DVD @@ -81,9 +78,6 @@ - - font-weight:bold - Existing Installation