diff options
author | Francois Andriot <albator78@libertysurf.fr> | 2014-05-07 01:47:46 -0500 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2014-05-07 01:47:46 -0500 |
commit | f43aac0e44bdcf6d5fd8f1d150bdb6908baf9bea (patch) | |
tree | e67b0ad7974e4e41828eed3cce944137a808f831 /src/hardware_battery.cpp | |
parent | ab2574981cc97de00c9ef96787aa31590c30750c (diff) | |
download | tdepowersave-f43aac0e44bdcf6d5fd8f1d150bdb6908baf9bea.tar.gz tdepowersave-f43aac0e44bdcf6d5fd8f1d150bdb6908baf9bea.zip |
Use the new battery polling support in tdehwlib
This resolves Bug 1992
Diffstat (limited to 'src/hardware_battery.cpp')
-rw-r--r-- | src/hardware_battery.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hardware_battery.cpp b/src/hardware_battery.cpp index 2ade257..ac18b52 100644 --- a/src/hardware_battery.cpp +++ b/src/hardware_battery.cpp @@ -65,7 +65,7 @@ Battery::Battery( TQString _udi ) { if (trace) kdDebug() << funcinfo << "IN , udi: " << udi << endl; m_hwdevices = TDEGlobal::hardwareDevices(); - m_hwdevices->setTriggerlessHardwareUpdatesEnabled(true); + m_hwdevices->setBatteryUpdatesEnabled(true); udi = _udi; |