aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/debugger/qml/qmlengine.cpp
diff options
context:
space:
mode:
authorhjk <hjk@qt.io>2018-05-16 15:42:03 +0200
committerhjk <hjk@qt.io>2018-05-23 08:48:36 +0000
commit36b835ff0ac1f6ab7b2ae8aab789352a9e297c21 (patch)
treeb3a63ee0ba58ca3bcfdb7631963f452c3658b8c3 /src/plugins/debugger/qml/qmlengine.cpp
parentfdccc542754bc5361b8391ecd3902a88a84ab3cf (diff)
Finish merging Runnable and StandardRunnable
As all Runnables are known to be StandardRunnables, this here essentially replaces all .is<StandardRunnable> by 'true'. .as<StandardRunnable> by no-op, and fixes the fallout. Change-Id: I1632f8e164fa0a9dff063df47a9e191fdf7bbb2e Reviewed-by: Tobias Hunger <tobias.hunger@qt.io> Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to 'src/plugins/debugger/qml/qmlengine.cpp')
-rw-r--r--src/plugins/debugger/qml/qmlengine.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/plugins/debugger/qml/qmlengine.cpp b/src/plugins/debugger/qml/qmlengine.cpp
index b428a88ea3..0d607fc8ec 100644
--- a/src/plugins/debugger/qml/qmlengine.cpp
+++ b/src/plugins/debugger/qml/qmlengine.cpp
@@ -48,7 +48,6 @@
#include <coreplugin/icore.h>
#include <projectexplorer/applicationlauncher.h>
-#include <projectexplorer/runnables.h>
#include <qmljseditor/qmljseditorconstants.h>
#include <qmljs/qmljsmodelmanagerinterface.h>
@@ -526,7 +525,7 @@ void QmlEngine::runEngine()
void QmlEngine::startApplicationLauncher()
{
if (!d->applicationLauncher.isRunning()) {
- StandardRunnable runnable = runParameters().inferior;
+ const Runnable runnable = runParameters().inferior;
runTool()->appendMessage(tr("Starting %1 %2").arg(
QDir::toNativeSeparators(runnable.executable),
runnable.commandLineArguments),