[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: [kde-workspace/KDE/4.9] powerdevil/daemon: emit brightnessChanged on profile changes
From: Lukas Tinkl <lukas () kde ! org>
Date: 2012-07-09 16:25:48
Message-ID: 20120709162548.C6D4FA6094 () git ! kde ! org
[Download RAW message or body]
Git commit 2dadb54add9a780bb4ec8ad8f3328f6bce103542 by Lukas Tinkl.
Committed on 09/07/2012 at 18:24.
Pushed by lukas into branch 'KDE/4.9'.
emit brightnessChanged on profile changes
fixes the battery monitor popup applet slider not updating after
(un)plugging AC
M +1 -0 powerdevil/daemon/powerdevilcore.cpp
http://commits.kde.org/kde-workspace/2dadb54add9a780bb4ec8ad8f3328f6bce103542
diff --git a/powerdevil/daemon/powerdevilcore.cpp b/powerdevil/daemon/powerdevilcore.cpp
index e5cae6a..fe2c5b0 100644
--- a/powerdevil/daemon/powerdevilcore.cpp
+++ b/powerdevil/daemon/powerdevilcore.cpp
@@ -384,6 +384,7 @@ void Core::loadProfile(bool force)
// We are now on a different profile
m_currentProfile = profileId;
emit profileChanged(m_currentProfile);
+ emit brightnessChanged(brightness());
}
// Now... any special behaviors we'd like to consider?
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic