Commit 0e4eaf01 authored by Kai Uwe Broulik's avatar Kai Uwe Broulik 🍇

[krdb] Hardcode Breeze default in kde4 migration

With the KConfigXT changes, the default isn't written anymore, so it wouldn't sync the default Breeze scheme anymore.

Differential Revision: https://phabricator.kde.org/D27165
parent 973ffe0e
......@@ -882,11 +882,8 @@ void runRdb( uint flags )
KConfigGroup generalGroup(kglobalcfg, "General");
KConfigGroup iconsGroup(kglobalcfg, "Icons");
const QString colorSchemeName = generalGroup.readEntry("ColorScheme", QString());
//if no valid color scheme saved, something weird is going on, abort
if (colorSchemeName.isEmpty()) {
return;
}
const QString colorSchemeName = generalGroup.readEntry("ColorScheme", QStringLiteral("Breeze"));
QString colorSchemeSrcFile;
if (colorSchemeName != QLatin1String("Default")) {
//fix filename, copied from ColorsCM::saveScheme()
......
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