diff --git a/src/hardware.cpp b/src/hardware.cpp index cb4e98c..92d2b36 100644 --- a/src/hardware.cpp +++ b/src/hardware.cpp @@ -603,6 +603,7 @@ bool HardwareInfo::intialiseHWInfo() { if (!allUDIs.contains( hwdevice->uniqueID() )) { allUDIs.append( hwdevice->uniqueID() ); } + connect(edevice, TQT_SIGNAL(switchChanged()), this, TQT_SLOT(checkLidcloseState())); checkLidcloseState(); } }