summaryrefslogtreecommitdiff
path: root/src/plugins/android/androidrunner.cpp
diff options
context:
space:
mode:
authorTobias Hunger <tobias.hunger@digia.com>2013-03-26 17:03:57 +0100
committerTobias Hunger <tobias.hunger@digia.com>2013-04-05 14:56:12 +0200
commite474b6ed8f52d8416af250072434d3a11c184172 (patch)
treec1d8e99642980531e5702033a08589da97a4e1eb /src/plugins/android/androidrunner.cpp
parent21da8c641d02e07eae2b86cda38e24b5ea22828e (diff)
downloadqt-creator-e474b6ed8f52d8416af250072434d3a11c184172.tar.gz
Demote debuggerrunconfigurationaspect
NOTE: Next patch will be "Move DRCA to Debugger plugin" and is needed to make this functional. Change-Id: Ie405a0e4fbdc0fb35ff16d34c725e7aee5153a4a Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
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())) {