diff options
author | Tobias Hunger <[email protected]> | 2013-03-26 17:03:57 +0100 |
---|---|---|
committer | Tobias Hunger <[email protected]> | 2013-04-05 14:56:12 +0200 |
commit | e474b6ed8f52d8416af250072434d3a11c184172 (patch) | |
tree | c1d8e99642980531e5702033a08589da97a4e1eb /src/plugins/android/androidrunner.cpp | |
parent | 21da8c641d02e07eae2b86cda38e24b5ea22828e (diff) |
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 <[email protected]>
Diffstat (limited to 'src/plugins/android/androidrunner.cpp')
-rw-r--r-- | src/plugins/android/androidrunner.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/plugins/android/androidrunner.cpp b/src/plugins/android/androidrunner.cpp index 7b7d9633437..8eda8284573 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())) { |