summaryrefslogtreecommitdiffstats
path: root/src/hardware.cpp
diff options
context:
space:
mode:
authorDarrell Anderson <humanreadable@yahoo.com>2013-05-05 14:37:29 -0500
committerDarrell Anderson <humanreadable@yahoo.com>2013-05-05 14:37:29 -0500
commit7c1c86a1a8b4a0f34737cd3ed8f335b9c5498510 (patch)
tree341876733768e35677a3728555ed26327458ee97 /src/hardware.cpp
parentd720ec70a7b70ec971df2dae59b9fc820fd04288 (diff)
downloadkpowersave-7c1c86a1a8b4a0f34737cd3ed8f335b9c5498510.tar.gz
kpowersave-7c1c86a1a8b4a0f34737cd3ed8f335b9c5498510.zip
Fix typos.
Diffstat (limited to 'src/hardware.cpp')
-rw-r--r--src/hardware.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/hardware.cpp b/src/hardware.cpp
index ab65969..756eac0 100644
--- a/src/hardware.cpp
+++ b/src/hardware.cpp
@@ -1383,11 +1383,11 @@ void HardwareInfo::emitS2diskButtonPressed() {
*/
void HardwareInfo::emitSessionActiveState() {
if (sessionIsActive) {
- if (!dbus_HAL->aquiredPolicyPowerInterface()) {
- dbus_HAL->aquirePolicyPowerIface();
+ if (!dbus_HAL->acquiredPolicyPowerInterface()) {
+ dbus_HAL->acquirePolicyPowerIface();
}
} else {
- if (dbus_HAL->aquiredPolicyPowerInterface()) {
+ if (dbus_HAL->acquiredPolicyPowerInterface()) {
dbus_HAL->releasePolicyPowerIface();
}
}