aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/debugger/qml/qmlengine.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/debugger/qml/qmlengine.cpp')
-rw-r--r--src/plugins/debugger/qml/qmlengine.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/plugins/debugger/qml/qmlengine.cpp b/src/plugins/debugger/qml/qmlengine.cpp
index 87b4a039d0..10e6d4f3b2 100644
--- a/src/plugins/debugger/qml/qmlengine.cpp
+++ b/src/plugins/debugger/qml/qmlengine.cpp
@@ -60,6 +60,7 @@
#include <utils/treemodel.h>
#include <utils/basetreeview.h>
#include <utils/qtcassert.h>
+#include <utils/qtcfallthrough.h>
#include <QDebug>
#include <QDir>
@@ -376,7 +377,7 @@ void QmlEngine::handleLauncherStarted()
{
// FIXME: The QmlEngine never calls notifyInferiorPid() triggering the
// raising, so do it here manually for now.
- runControl()->bringApplicationToForeground();
+ runControl()->applicationProcessHandle().activate();
d->noDebugOutputTimer.start();
}
@@ -505,7 +506,7 @@ void QmlEngine::errorMessageBoxFinished(int result)
}
case QMessageBox::Help: {
HelpManager::handleHelpRequest("qthelp://org.qt-project.qtcreator/doc/creator-debugging-qml.html");
- // fall through
+ Q_FALLTHROUGH();
}
default:
if (state() == InferiorRunOk) {