Commit 30629fd4 authored by Johannes Zarl-Zierl's avatar Johannes Zarl-Zierl

Fix incorrect colors after changing color schemes.

Implementing global stylesheets (04a3d5e8) had the side-effect that font
and style propagation of qwidgets was no longer active. Unfortunately,
since this work was done after the work on color schemes, I did not
catch this immediately.

Thanks to David Redondo for pointing me into the right direction!
parent 55198533
......@@ -135,6 +135,7 @@ int main(int argc, char **argv)
app.setPalette(KColorScheme::createApplicationPalette(KSharedConfig::openConfig(schemePath)));
if (app.styleSheet().isEmpty())
app.setStyleSheet(STYLE);
app.setAttribute(Qt::AA_UseStyleSheetPropagationInWidgetStyles);
new MainWindow::SplashScreen();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment