summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorhjk <hjk@qt.io>2020-11-20 10:26:08 +0100
committerhjk <hjk@qt.io>2020-11-20 09:47:36 +0000
commitff3614ab5ac0f55c4e65f8330365e6026cfb0e79 (patch)
tree82a43a5284600bfbf2733a5ee94e583174a8ae05 /src
parentec6b6f3671981b5e3c6d3a884e71e3ce9371d7cb (diff)
downloadqt-creator-ff3614ab5ac0f55c4e65f8330365e6026cfb0e79.tar.gz
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 <eike.ziller@qt.io>
Diffstat (limited to 'src')
-rw-r--r--src/plugins/debugger/debuggerengine.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/plugins/debugger/debuggerengine.cpp b/src/plugins/debugger/debuggerengine.cpp
index c7540e8ae1..6d7ec190ba 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);