From 5a0695b39107650840062ccf46682e7c3074f005 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Andriot?= Date: Sat, 20 Sep 2014 14:05:53 +0900 Subject: Fixed detecting tdepowersave in tdecmshell energy. This resolves bug 2122. --- kcontrol/energy/energy.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'kcontrol/energy/energy.h') diff --git a/kcontrol/energy/energy.h b/kcontrol/energy/energy.h index 54005dfb0..765fdb2b9 100644 --- a/kcontrol/energy/energy.h +++ b/kcontrol/energy/energy.h @@ -45,6 +45,7 @@ private slots: void slotChangeSuspend(int); void slotChangeOff(int); void slotLaunchKPowersave(); + void slotLaunchTDEPowersave(); void openURL(const TQString &); private: @@ -55,7 +56,7 @@ private: static void applySettings(bool, int, int, int); friend void init_energy(); - bool m_bChanged, m_bDPMS, m_bKPowersave, m_bEnabled, m_bMaintainSanity; + bool m_bChanged, m_bDPMS, m_bKPowersave, m_bTDEPowersave, m_bEnabled, m_bMaintainSanity; int m_Standby, m_Suspend, m_Off; int m_StandbyDesired, m_SuspendDesired, m_OffDesired; -- cgit v1.2.1