Enable triggerless hardware updates on startup

pull/1/head
Timothy Pearson 12 years ago
parent cee6e93e17
commit 2b2945858f

@ -65,11 +65,12 @@ Battery::Battery( TQString _udi ) {
if (trace) kdDebug() << funcinfo << "IN , udi: " << udi << endl; if (trace) kdDebug() << funcinfo << "IN , udi: " << udi << endl;
m_hwdevices = TDEGlobal::hardwareDevices(); m_hwdevices = TDEGlobal::hardwareDevices();
m_hwdevices->setTriggerlessHardwareUpdatesEnabled(true);
udi = _udi; udi = _udi;
connect(m_hwdevices, TQT_SIGNAL(hardwareUpdated(TDEGenericDevice*)), this, TQT_SLOT(updateProperty(TDEGenericDevice*))); connect(m_hwdevices, TQT_SIGNAL(hardwareUpdated(TDEGenericDevice*)), this, TQT_SLOT(updateProperty(TDEGenericDevice*)));
initialized = false; initialized = false;
initDefault(); initDefault();

@ -48,7 +48,8 @@ CPUInfo::CPUInfo() {
numOfCPUs = -1; numOfCPUs = -1;
m_hwdevices = TDEGlobal::hardwareDevices(); m_hwdevices = TDEGlobal::hardwareDevices();
m_hwdevices->setTriggerlessHardwareUpdatesEnabled(true);
kdDebugFuncOut(trace); kdDebugFuncOut(trace);
} }

Loading…
Cancel
Save