diff --git a/apps/launcher/maindialog.cpp b/apps/launcher/maindialog.cpp index 03667aaa26..71bda1c1ef 100644 --- a/apps/launcher/maindialog.cpp +++ b/apps/launcher/maindialog.cpp @@ -90,7 +90,7 @@ Launcher::MainDialog::~MainDialog() bool Launcher::MainDialog::event(QEvent* event) { // Apply style sheet again if style was changed - if (event->type() == QEvent::ThemeChange || event->type() == QEvent::PaletteChange) + if (event->type() == QEvent::PaletteChange) { if (toolBar != nullptr) toolBar->setStyleSheet(toolBarStyle); diff --git a/apps/opencs/view/world/tablebottombox.cpp b/apps/opencs/view/world/tablebottombox.cpp index 75fdee3461..396ba2de33 100644 --- a/apps/opencs/view/world/tablebottombox.cpp +++ b/apps/opencs/view/world/tablebottombox.cpp @@ -138,7 +138,7 @@ CSVWorld::TableBottomBox::TableBottomBox(const CreatorFactoryBase& creatorFactor bool CSVWorld::TableBottomBox::event(QEvent* event) { // Apply style sheet again if style was changed - if (event->type() == QEvent::ThemeChange || event->type() == QEvent::PaletteChange) + if (event->type() == QEvent::PaletteChange) { if (mStatusBar != nullptr) mStatusBar->setStyleSheet(statusBarStyle);