forked from qt-creator/qt-creator
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>
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user