diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-06-01 18:43:57 -0500 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-06-01 18:43:57 -0500 |
commit | 2b2945858fe2382d53b80dda26004f8e2fb06b8b (patch) | |
tree | 9fb0f4d728c15caa400326e1177c44a4864df9be /src/hardware_battery.cpp | |
parent | cee6e93e17babc59640f447679ae7eaf0bd34484 (diff) | |
download | tdepowersave-2b2945858fe2382d53b80dda26004f8e2fb06b8b.tar.gz tdepowersave-2b2945858fe2382d53b80dda26004f8e2fb06b8b.zip |
Enable triggerless hardware updates on startup
Diffstat (limited to 'src/hardware_battery.cpp')
-rw-r--r-- | src/hardware_battery.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/hardware_battery.cpp b/src/hardware_battery.cpp index 6011b72..ee9f0b9 100644 --- a/src/hardware_battery.cpp +++ b/src/hardware_battery.cpp @@ -65,11 +65,12 @@ Battery::Battery( TQString _udi ) { if (trace) kdDebug() << funcinfo << "IN , udi: " << udi << endl; m_hwdevices = TDEGlobal::hardwareDevices(); + m_hwdevices->setTriggerlessHardwareUpdatesEnabled(true); udi = _udi; connect(m_hwdevices, TQT_SIGNAL(hardwareUpdated(TDEGenericDevice*)), this, TQT_SLOT(updateProperty(TDEGenericDevice*))); - + initialized = false; initDefault(); |