Update NewBoxWizard.cpp

[skip ci]
This commit is contained in:
DavidXanatos 2023-08-23 21:35:37 +02:00
parent 3b389dd54d
commit cb57edff4d
1 changed files with 2 additions and 2 deletions

View File

@ -214,7 +214,7 @@ CBoxTypePage::CBoxTypePage(bool bAlowTemp, QWidget *parent)
QWidget* pW = bCheck ? (QWidget*)new QCheckBox() : (QWidget*)new QRadioButton();
if (theGUI->m_DarkTheme) {
QPalette palette = QApplication::palette();
palette.setColor(QPalette::Base, Qt::darkGray);
palette.setColor(QPalette::Base, Qt::lightGray);
palette.setColor(QPalette::Text, Qt::black);
pW->setPalette(palette);
}
@ -310,7 +310,7 @@ CBoxTypePage::CBoxTypePage(bool bAlowTemp, QWidget *parent)
m_pAdvanced = new QCheckBox(tr("Configure advanced options"));
if (theGUI->m_DarkTheme) {
QPalette palette = QApplication::palette();
palette.setColor(QPalette::Base, Qt::darkGray);
palette.setColor(QPalette::Base, Qt::lightGray);
palette.setColor(QPalette::Text, Qt::black);
m_pAdvanced->setPalette(palette);
}