[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [kalzium] src: Bug Fix 322583 : pse color prefs updated immideately
From:       Shalin Shah <shalinshah1993 () gmail ! com>
Date:       2015-01-12 18:34:59
Message-ID: E1YAjpL-0000ZO-Bn () scm ! kde ! org
[Download RAW message or body]

Git commit ea7e3ca96677215f014c889f80aa894f8050c035 by Shalin Shah.
Committed on 12/01/2015 at 18:27.
Pushed by shalinshah into branch 'master'.

Bug Fix 322583 : pse color prefs updated immideately

M  +4    -0    src/kalzium.cpp

http://commits.kde.org/kalzium/ea7e3ca96677215f014c889f80aa894f8050c035

diff --git a/src/kalzium.cpp b/src/kalzium.cpp
index 2e85cf8..d23c2aa 100644
--- a/src/kalzium.cpp
+++ b/src/kalzium.cpp
@@ -542,6 +542,10 @@ void Kalzium::slotUpdateSettings()
     Prefs::self()->writeConfig();
 =

     m_legendWidget->updateContent();
+
+    /*This slot function calls change the color of pse elements immideatel=
y after prefs change*/
+    slotSwitchtoLookGradient(Prefs::colorgradientbox());
+    slotSwitchtoLookScheme(Prefs::colorschemebox());
 }
 =

 void Kalzium::slotShowExportDialog()
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic