summaryrefslogtreecommitdiff
path: root/src/plugins/android/androidrunner.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/android/androidrunner.cpp')
-rw-r--r--src/plugins/android/androidrunner.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/plugins/android/androidrunner.cpp b/src/plugins/android/androidrunner.cpp
index 7b7d963343..8eda828457 100644
--- a/src/plugins/android/androidrunner.cpp
+++ b/src/plugins/android/androidrunner.cpp
@@ -46,10 +46,12 @@ namespace Internal {
AndroidRunner::AndroidRunner(QObject *parent, AndroidRunConfiguration *runConfig, bool debuggingMode)
: QThread(parent)
{
- m_useCppDebugger = debuggingMode && runConfig->debuggerAspect()->useCppDebugger();
- m_useQmlDebugger = debuggingMode && runConfig->debuggerAspect()->useQmlDebugger();
+ ProjectExplorer::DebuggerRunConfigurationAspect *aspect
+ = runConfig->extraAspect<ProjectExplorer::DebuggerRunConfigurationAspect>();
+ m_useCppDebugger = debuggingMode && aspect->useCppDebugger();
+ m_useQmlDebugger = debuggingMode && aspect->useQmlDebugger();
m_remoteGdbChannel = runConfig->remoteChannel();
- m_qmlPort = runConfig->debuggerAspect()->qmlDebugServerPort();
+ m_qmlPort = aspect->qmlDebugServerPort();
ProjectExplorer::Target *target = runConfig->target();
AndroidDeployStep *ds = runConfig->deployStep();
if ((m_useLocalQtLibs = ds->useLocalQtLibs())) {