Use new signal switchChanged for monitoring closing the lid

This resolves Bug 2052
pull/1/head
Slávek Banko 11 years ago
parent f43aac0e44
commit a3a78dc564

@ -603,6 +603,7 @@ bool HardwareInfo::intialiseHWInfo() {
if (!allUDIs.contains( hwdevice->uniqueID() )) { if (!allUDIs.contains( hwdevice->uniqueID() )) {
allUDIs.append( hwdevice->uniqueID() ); allUDIs.append( hwdevice->uniqueID() );
} }
connect(edevice, TQT_SIGNAL(switchChanged()), this, TQT_SLOT(checkLidcloseState()));
checkLidcloseState(); checkLidcloseState();
} }
} }

Loading…
Cancel
Save