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

List:       kde-commits
Subject:    [kscreen/saveWhenNeeded] kded: Also monitor for changes when display switch is used
From:       Àlex_Fiestas <afiestas () kde ! org>
Date:       2013-01-02 11:52:30
Message-ID: 20130102115230.35ADAA60C8 () git ! kde ! org
[Download RAW message or body]

Git commit 19ee3f6bb33c3685913fa0875cf20a947287c9a1 by Àlex Fiestas.
Committed on 02/01/2013 at 12:52.
Pushed by afiestas into branch 'saveWhenNeeded'.

Also monitor for changes when display switch is used

M  +1    -0    kded/daemon.cpp

http://commits.kde.org/kscreen/19ee3f6bb33c3685913fa0875cf20a947287c9a1

diff --git a/kded/daemon.cpp b/kded/daemon.cpp
index fdf7909..d97fbda 100644
--- a/kded/daemon.cpp
+++ b/kded/daemon.cpp
@@ -130,6 +130,7 @@ void KScreenDaemon::applyGenericConfig()
         m_iteration = 0;
     }
 
+    setMonitorForChanges(true);
     m_iteration++;
     qDebug() << "displayButton: " << m_iteration;
     KScreen::Config::setConfig(Generator::self()->displaySwitch(m_iteration));
[prev in list] [next in list] [prev in thread] [next in thread] 

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