summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2022-03-04 22:00:54 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2022-03-04 22:02:23 +0900
commit65d242a2b895c9c2867522f74c0245b806b6da34 (patch)
tree341be15f35ce03ce285d224f8df29c342bea6195
parent53432b16bf4c0dc3c5f3bdeef0f0207759d147c0 (diff)
downloadtdebase-65d242a2b895c9c2867522f74c0245b806b6da34.tar.gz
tdebase-65d242a2b895c9c2867522f74c0245b806b6da34.zip
tdehwdevicemanager: make sure to stop polling when closing the device dialog.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit c8b66185bef7250219dd712a91e1956d63e99f34)
-rw-r--r--kcontrol/hwmanager/hwmanager.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/kcontrol/hwmanager/hwmanager.cpp b/kcontrol/hwmanager/hwmanager.cpp
index a9e5e5f85..25b4a6e71 100644
--- a/kcontrol/hwmanager/hwmanager.cpp
+++ b/kcontrol/hwmanager/hwmanager.cpp
@@ -103,6 +103,7 @@ TDEHWManager::TDEHWManager(TQWidget *parent, const char *name, const TQStringLis
TDEHWManager::~TDEHWManager()
{
+ TDEGlobal::hardwareDevices()->setTriggerlessHardwareUpdatesEnabled(false);
delete config;
delete systemconfig;
}