From c8b66185bef7250219dd712a91e1956d63e99f34 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Fri, 4 Mar 2022 22:00:54 +0900 Subject: tdehwdevicemanager: make sure to stop polling when closing the device dialog. Signed-off-by: Michele Calgaro --- kcontrol/hwmanager/hwmanager.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'kcontrol') 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; } -- cgit v1.2.1