diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/hardware_battery.cpp | 3 | ||||
-rw-r--r-- | src/hardware_cpu.cpp | 3 |
2 files changed, 4 insertions, 2 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(); diff --git a/src/hardware_cpu.cpp b/src/hardware_cpu.cpp index 618af0a..a47fa31 100644 --- a/src/hardware_cpu.cpp +++ b/src/hardware_cpu.cpp @@ -48,7 +48,8 @@ CPUInfo::CPUInfo() { numOfCPUs = -1; m_hwdevices = TDEGlobal::hardwareDevices(); - + m_hwdevices->setTriggerlessHardwareUpdatesEnabled(true); + kdDebugFuncOut(trace); } |