diff options
Diffstat (limited to 'src/plugins/android/androidplugin.cpp')
-rw-r--r-- | src/plugins/android/androidplugin.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/plugins/android/androidplugin.cpp b/src/plugins/android/androidplugin.cpp index c9360527fb..6f44abbbbd 100644 --- a/src/plugins/android/androidplugin.cpp +++ b/src/plugins/android/androidplugin.cpp @@ -97,10 +97,7 @@ bool AndroidPlugin::initialize(const QStringList &arguments, QString *errorMessa RunControl::registerWorker(QML_PREVIEW_RUN_MODE, [](RunControl *runControl) -> RunWorker* { const Runnable runnable = runControl->runConfiguration()->runnable(); - QTC_ASSERT(runnable.is<StandardRunnable>(), return nullptr); - const StandardRunnable standardRunnable = runnable.as<StandardRunnable>(); - return new AndroidQmlToolingSupport(runControl, standardRunnable.executable, - standardRunnable.commandLineArguments); + return new AndroidQmlToolingSupport(runControl, runnable.executable, runnable.commandLineArguments); }, [](RunConfiguration *runConfig) { return runConfig->isEnabled() && runConfig->id().name().startsWith("QmlProjectManager.QmlRunConfiguration") |