From kde-commits Mon Jul 09 16:26:53 2012 From: Lukas Tinkl Date: Mon, 09 Jul 2012 16:26:53 +0000 To: kde-commits Subject: [kde-workspace] powerdevil/daemon: emit brightnessChanged on profile changes Message-Id: <20120709162653.EB3D8A6094 () git ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-commits&m=134185145710581 Git commit c3a31f2424986938a669af4e317c93ec6dcb137c by Lukas Tinkl. Committed on 09/07/2012 at 18:24. Pushed by lukas into branch 'master'. 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/c3a31f2424986938a669af4e317c93ec6dcb13= 7c diff --git a/powerdevil/daemon/powerdevilcore.cpp b/powerdevil/daemon/power= devilcore.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 =3D profileId; emit profileChanged(m_currentProfile); + emit brightnessChanged(brightness()); } = // Now... any special behaviors we'd like to consider?