frameworkintegration/0002-colorscheme-in-General.patch

26 lines
934 B
Diff

From d162a0726f8320018b8ec6b4b54f694e69a7767c Mon Sep 17 00:00:00 2001
From: Marco Martin <notmart@gmail.com>
Date: Wed, 24 Sep 2014 20:00:46 +0200
Subject: [PATCH 2/2] colorscheme in General
---
src/platformtheme/khintssettings.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/platformtheme/khintssettings.cpp b/src/platformtheme/khintssettings.cpp
index c7b2967..8799216 100644
--- a/src/platformtheme/khintssettings.cpp
+++ b/src/platformtheme/khintssettings.cpp
@@ -348,7 +348,7 @@ void KHintsSettings::loadPalettes()
return;
}
- const QString scheme = readConfigValue("KDE", "ColorScheme", "Breeze").toString();
+ const QString scheme = readConfigValue("General", "ColorScheme", "Breeze").toString();
path = QStandardPaths::locate(QStandardPaths::GenericDataLocation, "color-schemes/" + scheme + ".colors");
if (!path.isEmpty()) {
--
2.1.0