summaryrefslogtreecommitdiffstats
path: root/klaptopdaemon/daemon_state.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'klaptopdaemon/daemon_state.cpp')
-rw-r--r--klaptopdaemon/daemon_state.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/klaptopdaemon/daemon_state.cpp b/klaptopdaemon/daemon_state.cpp
index 37db2ee..49d4ade 100644
--- a/klaptopdaemon/daemon_state.cpp
+++ b/klaptopdaemon/daemon_state.cpp
@@ -83,16 +83,16 @@ void daemon_state::load()
bool enablehibernate = config->readBoolEntry("EnableHibernate", false);
bool enableperformance = config->readBoolEntry("EnablePerformance", false);
bool enablethrottle = config->readBoolEntry("EnableThrottle", false);
- laptop_portable::acpi_set_tqmask(enablestandby, enablesuspend, enablehibernate, enableperformance, enablethrottle);
+ laptop_portable::acpi_set_mask(enablestandby, enablesuspend, enablehibernate, enableperformance, enablethrottle);
config->setGroup("ApmDefault");
enablestandby = config->readBoolEntry("EnableStandby", false);
enablesuspend = config->readBoolEntry("EnableSuspend", false);
- laptop_portable::apm_set_tqmask(enablestandby, enablesuspend);
+ laptop_portable::apm_set_mask(enablestandby, enablesuspend);
config->setGroup("SoftwareSuspendDefault");
enablehibernate = config->readBoolEntry("EnableHibernate", false);
- laptop_portable::software_suspend_set_tqmask(enablehibernate);
+ laptop_portable::software_suspend_set_mask(enablehibernate);
exists = laptop_portable::has_power_management();
has_brightness = laptop_portable::has_brightness();