From 991aceb0fda59e7803dc9bfd3ae602a26f03d874 Mon Sep 17 00:00:00 2001
From: hjk <qtc-committer@nokia.com>
Date: Wed, 18 Aug 2010 13:09:27 +0200
Subject: [PATCH] debugger: finish "Launching" bar even if we don't hit a
 "^running"

---
 src/plugins/debugger/gdb/gdbengine.cpp | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/plugins/debugger/gdb/gdbengine.cpp b/src/plugins/debugger/gdb/gdbengine.cpp
index 3f6e16b378c..efc797dcbe8 100644
--- a/src/plugins/debugger/gdb/gdbengine.cpp
+++ b/src/plugins/debugger/gdb/gdbengine.cpp
@@ -4158,6 +4158,10 @@ void GdbEngine::startInferiorPhase2()
 {
     debugMessage(_("BREAKPOINTS SET, CONTINUING INFERIOR STARTUP"));
     m_gdbAdapter->startInferiorPhase2();
+    if (m_progress) {
+        m_progress->setProgressValue(100);
+        m_progress->reportFinished();
+    }
 }
 
 void GdbEngine::handleInferiorStartFailed(const QString &msg)
-- 
GitLab