Commit 04a3d5e8 authored by Johannes Zarl-Zierl's avatar Johannes Zarl-Zierl

Allow application stylesheet to be overridden.

parent aad2bfd6
......@@ -133,7 +133,8 @@ int main(int argc, char **argv)
const QString schemePath = KSharedConfig::openConfig()->group("General").readEntry(QString::fromLatin1("colorScheme"), QString());
qCDebug(MainLog) << "Loading color scheme from " << (schemePath.isEmpty() ? QString::fromLatin1("system default") : schemePath);
app.setPalette(KColorScheme::createApplicationPalette(KSharedConfig::openConfig(schemePath)));
app.setStyleSheet(STYLE);
if (app.styleSheet().isEmpty())
app.setStyleSheet(STYLE);
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