summaryrefslogtreecommitdiff
path: root/staging/kdebase-workspace/fix-powerprofiles.patch
diff options
context:
space:
mode:
authorNicolas Reynolds <fauno@kiwwwi.com.ar>2011-11-02 10:47:02 -0300
committerNicolas Reynolds <fauno@kiwwwi.com.ar>2011-11-02 10:47:02 -0300
commit40e1222c1402c0d2aded73b95802f8197d0691a6 (patch)
treee1bf1a01ae7443e4a9f460200dad9580565b27c7 /staging/kdebase-workspace/fix-powerprofiles.patch
parent3e3dd870121c91097220248a601578b92d332f2b (diff)
parent37a1064b8105764414f279ced442e6ba2f63bea1 (diff)
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts: community/camlp5/PKGBUILD community/dzen2/PKGBUILD extra/boost/PKGBUILD extra/libxmi/PKGBUILD extra/mesa/PKGBUILD multilib/lib32-mesa/PKGBUILD
Diffstat (limited to 'staging/kdebase-workspace/fix-powerprofiles.patch')
-rw-r--r--staging/kdebase-workspace/fix-powerprofiles.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/staging/kdebase-workspace/fix-powerprofiles.patch b/staging/kdebase-workspace/fix-powerprofiles.patch
new file mode 100644
index 000000000..309fcf3db
--- /dev/null
+++ b/staging/kdebase-workspace/fix-powerprofiles.patch
@@ -0,0 +1,23 @@
+From: Dario Freddi <drf@kde.org>
+Date: Tue, 04 Oct 2011 14:09:09 +0000
+Subject: Use full config when reading settings
+X-Git-Url: http://quickgit.kde.org/?p=kde-workspace.git&amp;a=commitdiff&amp;h=8d59876457387d1c72ca3626ae2d267adf100014
+---
+Use full config when reading settings
+
+BUG: 267323
+---
+
+
+--- a/powerdevil/daemon/powerdevilcore.cpp
++++ b/powerdevil/daemon/powerdevilcore.cpp
+@@ -88,7 +88,7 @@ void Core::onBackendReady()
+ {
+ kDebug() << "Backend is ready, KDE Power Management system initialized";
+
+- m_profilesConfig = KSharedConfig::openConfig("powerdevil2profilesrc", KConfig::SimpleConfig);
++ m_profilesConfig = KSharedConfig::openConfig("powerdevil2profilesrc", KConfig::FullConfig);
+
+ // Is it brand new?
+ if (m_profilesConfig->groupList().isEmpty()) {
+