summaryrefslogtreecommitdiffstats
path: root/kcontrol/hwmanager
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2022-03-04 22:00:54 +0900
committerMichele Calgaro <[email protected]>2022-03-04 22:00:54 +0900
commitc8b66185bef7250219dd712a91e1956d63e99f34 (patch)
treef6ff42f0e37a5ad994c4b2c96cb3f8e2abd08258 /kcontrol/hwmanager
parent5f0e42cda7d478ea73a8a9da0334b1591d14354d (diff)
downloadtdebase-c8b66185bef7250219dd712a91e1956d63e99f34.tar.gz
tdebase-c8b66185bef7250219dd712a91e1956d63e99f34.zip
tdehwdevicemanager: make sure to stop polling when closing the device dialog.
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'kcontrol/hwmanager')
-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 ecfed649a..be558bed5 100644
--- a/kcontrol/hwmanager/hwmanager.cpp
+++ b/kcontrol/hwmanager/hwmanager.cpp
@@ -106,6 +106,7 @@ TDEHWManager::TDEHWManager(TQWidget *parent, const char *name, const TQStringLis
TDEHWManager::~TDEHWManager()
{
+ TDEGlobal::hardwareDevices()->setTriggerlessHardwareUpdatesEnabled(false);
delete config;
delete systemconfig;
}