File fix-some-KConfig-usage.patch of Package breeze.openSUSE_13.2_Update
From: Hrvoje Senjan <hrvoje.senjan@gmail.com>
Date: Tue, 07 Apr 2015 19:15:16 +0000
Subject: [kde4breze] Fix some KConfig usage (wrt bug 340691)
X-Git-Tag: v5.2.95
X-Git-Url: http://quickgit.kde.org/?p=breeze.git&a=commitdiff&h=7272e6914ef9b756bbbeb132b63a4e39a79f11e9
---
[kde4breze] Fix some KConfig usage (wrt bug 340691)
We're interested only in local/users kdeglobals in this case.
REVIEW: 123289
BUG: 342570
FIXED-IN: 5.3
---
--- a/misc/kde4breeze/src/main.cpp
+++ b/misc/kde4breeze/src/main.cpp
@@ -86,7 +86,7 @@
{
Kdelibs4Migration migration;
//Apply the color scheme
- KConfig config(migration.saveLocation("config") + "kdeglobals");
+ KConfig config(migration.saveLocation("config") + "kdeglobals", KConfig::SimpleConfig);
KSharedConfig::Ptr kf5Config = KSharedConfig::openConfig("kdeglobals");
KConfigGroup kf5Group(kf5Config, "General");
@@ -122,7 +122,6 @@
KConfigGroup iconGroup(&config, "Icons");
iconGroup.writeEntry("Theme", icons);
- applyColorScheme(colorScheme, &config);
iconGroup.sync();