From d39d26a54f797ca7900d7e61ff6253b4a8d2d848 Mon Sep 17 00:00:00 2001 From: hjk Date: Fri, 30 Aug 2019 14:04:20 +0200 Subject: [PATCH] iOS: Avoid use of RunControl::runConfiguration() in QmlProfiler support Change-Id: Id296ddb364c7503506e32c01d594cdca15715859 Reviewed-by: Eike Ziller --- src/plugins/ios/iosrunner.cpp | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/plugins/ios/iosrunner.cpp b/src/plugins/ios/iosrunner.cpp index 872e7b18561..9794bd9f189 100644 --- a/src/plugins/ios/iosrunner.cpp +++ b/src/plugins/ios/iosrunner.cpp @@ -387,14 +387,6 @@ IosQmlProfilerSupport::IosQmlProfilerSupport(RunControl *runControl) { setId("IosQmlProfilerSupport"); - auto iosRunConfig = qobject_cast(runControl->runConfiguration()); - Runnable runnable; - runnable.executable = iosRunConfig->localExecutable(); - runnable.commandLineArguments = - runControl->aspect()->arguments(iosRunConfig->macroExpander()); - runControl->setDisplayName(iosRunConfig->applicationName()); - runControl->setRunnable(runnable); - m_runner = new IosRunner(runControl); m_runner->setQmlDebugging(QmlDebug::QmlProfilerServices); addStartDependency(m_runner);