From cd4b5e24e9ccf8d52292693e20ba259e05630fc4 Mon Sep 17 00:00:00 2001
From: Jens Bache-Wiig <jbache@trolltech.com>
Date: Tue, 23 Mar 2010 16:56:42 +0100
Subject: [PATCH] More consistent debugger status messages

Reviewed-by:Leena Miettinen
---
 src/plugins/debugger/gdb/gdbengine.cpp | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/plugins/debugger/gdb/gdbengine.cpp b/src/plugins/debugger/gdb/gdbengine.cpp
index 237802c6f91..1c4dae583e8 100644
--- a/src/plugins/debugger/gdb/gdbengine.cpp
+++ b/src/plugins/debugger/gdb/gdbengine.cpp
@@ -1638,7 +1638,7 @@ void GdbEngine::handleInferiorShutdown(const GdbResponse &response)
         setState(InferiorShutdownFailed);
         QString msg = m_gdbAdapter->msgInferiorStopFailed(
             QString::fromLocal8Bit(response.data.findChild("msg").data()));
-        showMessageBox(QMessageBox::Critical, tr("Inferior shutdown failed"), msg);
+        showMessageBox(QMessageBox::Critical, tr("Failed to shut down application"), msg);
     }
     shutdown(); // re-iterate...
 }
@@ -4217,13 +4217,13 @@ void GdbEngine::startInferiorPhase2()
 
 void GdbEngine::handleInferiorStartFailed(const QString &msg)
 {
-    showStatusMessage(tr("Inferior start failed: ") + msg);
+    showStatusMessage(tr("Failed to start application: ") + msg);
     if (state() == AdapterStartFailed) {
         debugMessage(_("INFERIOR START FAILED, BUT ADAPTER DIED ALREADY"));
         return; // Adapter crashed meanwhile, so this notification is meaningless.
     }
     debugMessage(_("INFERIOR START FAILED"));
-    showMessageBox(QMessageBox::Critical, tr("Inferior start failed"), msg);
+    showMessageBox(QMessageBox::Critical, tr("Failed to start application"), msg);
     setState(InferiorStartFailed);
     shutdown();
 }
-- 
GitLab