diff --git a/src/plugins/debugger/debuggermanager.cpp b/src/plugins/debugger/debuggermanager.cpp
index 15c586b5bba226397c49f1cf81c3a15ef912e571..d403b1f3ec8bbefecc04bbcf9a579e5ba7501bb1 100644
--- a/src/plugins/debugger/debuggermanager.cpp
+++ b/src/plugins/debugger/debuggermanager.cpp
@@ -1236,11 +1236,12 @@ void DebuggerManager::setStatus(int status)
         || status == DebuggerInferiorStopRequested
         || status == DebuggerInferiorStopped;
 
-    //const bool starting = status == DebuggerProcessStartingUp;
     const bool running = status == DebuggerInferiorRunning;
 
     const bool ready = status == DebuggerInferiorStopped
             && startMode() != AttachCore;
+    if (ready)
+        QApplication::alert(mainWindow(), 3000);
 
     m_watchAction->setEnabled(ready);
     m_breakAction->setEnabled(true);
diff --git a/src/plugins/debugger/gdb/gdbengine.cpp b/src/plugins/debugger/gdb/gdbengine.cpp
index fa8f9d7a0a2514664fd9aec9978b19397a63396e..f48f3d141969c11d27a40132a52ab979c3675e64 100644
--- a/src/plugins/debugger/gdb/gdbengine.cpp
+++ b/src/plugins/debugger/gdb/gdbengine.cpp
@@ -62,7 +62,7 @@
 #include <QtCore/QTextStream>
 
 #include <QtGui/QAction>
-#include <QtGui/QApplication>
+#include <QtCore/QCoreApplication>
 #include <QtGui/QLabel>
 #include <QtGui/QMainWindow>
 #include <QtGui/QMessageBox>
@@ -1146,7 +1146,6 @@ void GdbEngine::handleAsyncOutput(const GdbMi &data)
             m_currentFrame = _(frame.findChild("addr").data() + '%' +
                  frame.findChild("func").data() + '%');
 
-            QApplication::alert(q->mainWindow(), 3000);
             if (theDebuggerAction(ListSourceFiles)->value().toBool())
                 reloadSourceFiles();
             postCommand(_("-break-list"), CB(handleBreakList));
@@ -2800,7 +2799,7 @@ void GdbEngine::setToolTipExpression(const QPoint &mousePos,
 
 //: Variable
 static const QString strNotInScope =
-        QApplication::translate("Debugger::Internal::GdbEngine", "<not in scope>");
+        QCoreApplication::translate("Debugger::Internal::GdbEngine", "<not in scope>");
 
 
 static void setWatchDataValue(WatchData &data, const GdbMi &mi,