|
|
@ -863,9 +863,11 @@ void TDEHardwareDevices::processModifiedCPUs() {
|
|
|
|
if (modified) {
|
|
|
|
if (modified) {
|
|
|
|
for (processorNumber=0; processorNumber<processorCount; processorNumber++) {
|
|
|
|
for (processorNumber=0; processorNumber<processorCount; processorNumber++) {
|
|
|
|
TDEGenericDevice* hwdevice = findCPUBySystemPath(TQString("/sys/devices/system/cpu/cpu%1").arg(processorNumber));
|
|
|
|
TDEGenericDevice* hwdevice = findCPUBySystemPath(TQString("/sys/devices/system/cpu/cpu%1").arg(processorNumber));
|
|
|
|
// Signal new information available
|
|
|
|
if (hwdevice) {
|
|
|
|
emit hardwareUpdated(hwdevice);
|
|
|
|
// Signal new information available
|
|
|
|
emit hardwareEvent(TDEHardwareEvent::HardwareUpdated, hwdevice->uniqueID());
|
|
|
|
emit hardwareUpdated(hwdevice);
|
|
|
|
|
|
|
|
emit hardwareEvent(TDEHardwareEvent::HardwareUpdated, hwdevice->uniqueID());
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|