summaryrefslogtreecommitdiffstats
path: root/kcontrol
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2013-09-28 18:36:06 +0200
committerSlávek Banko <slavek.banko@axis.cz>2013-09-28 18:36:29 +0200
commit9ebb7ce7ea200500631981a4cc85cbd1b8c72f51 (patch)
treebea7ae1cf0cdbcc5acebd50e9eee12f4e5de074e /kcontrol
parent21cc8cea315af252bef40227c36e9492d6702cb7 (diff)
downloadtdebase-9ebb7ce7ea200500631981a4cc85cbd1b8c72f51.tar.gz
tdebase-9ebb7ce7ea200500631981a4cc85cbd1b8c72f51.zip
Add freeze suspend state to list of available power states
in TDE hardware manager
Diffstat (limited to 'kcontrol')
-rw-r--r--kcontrol/hwmanager/devicepropsdlg.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/kcontrol/hwmanager/devicepropsdlg.cpp b/kcontrol/hwmanager/devicepropsdlg.cpp
index 30778dac2..c6c8cde2c 100644
--- a/kcontrol/hwmanager/devicepropsdlg.cpp
+++ b/kcontrol/hwmanager/devicepropsdlg.cpp
@@ -663,6 +663,9 @@ void DevicePropertiesDialog::populateDeviceInformation() {
if ((*it) == TDESystemPowerState::Standby) {
powerStatesString += i18n("Standby<br>");
}
+ if ((*it) == TDESystemPowerState::Freeze) {
+ powerStatesString += i18n("Freeze<br>");
+ }
if ((*it) == TDESystemPowerState::Suspend) {
powerStatesString += i18n("Suspend<br>");
}