From ff3614ab5ac0f55c4e65f8330365e6026cfb0e79 Mon Sep 17 00:00:00 2001 From: hjk Date: Fri, 20 Nov 2020 10:26:08 +0100 Subject: [PATCH] Debugger: Don't use QApplication::alert too often There's an ICore::raiseWindow() call already for spontaneous stops, conditioned on boolSetting(RaiseOnInterrupt). This should be sufficient for normal operation. Task-number: QTCREATORBUG-12769 Change-Id: I33daad2579f9cfdb8fd121b9c9db73c05f9eccb7 Reviewed-by: Eike Ziller --- src/plugins/debugger/debuggerengine.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/plugins/debugger/debuggerengine.cpp b/src/plugins/debugger/debuggerengine.cpp index c7540e8ae1d..6d7ec190bac 100644 --- a/src/plugins/debugger/debuggerengine.cpp +++ b/src/plugins/debugger/debuggerengine.cpp @@ -1513,9 +1513,6 @@ void DebuggerEnginePrivate::updateState() const bool detachable = stopped && !isCore; m_detachAction.setEnabled(detachable); - if (stopped) - QApplication::alert(ICore::dialogParent(), 3000); - updateReverseActions(); const bool canSnapshot = m_engine->hasCapability(SnapshotCapability);