diff options
author | hjk <hjk@theqtcompany.com> | 2015-02-10 13:21:22 +0100 |
---|---|---|
committer | hjk <hjk@theqtcompany.com> | 2015-02-10 14:27:32 +0000 |
commit | bf6aa3cc2b078e4130c67e37ae765ea61ac6e0f5 (patch) | |
tree | 7662352022a32231614b10f9dd0f37248eb155aa /src/plugins/android/androiddebugsupport.cpp | |
parent | 807c3a5ad2c79a3da28c6740b36401a3960e9226 (diff) | |
download | qt-creator-bf6aa3cc2b078e4130c67e37ae765ea61ac6e0f5.tar.gz |
Debugger: Pass RunControl in DebuggerStartParameters
.. to simplify DebuggerRunControlFactory::doCreate() call.
Change-Id: I4dd0c224968bb8a388ea7f095b940b66ee606ab1
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
Diffstat (limited to 'src/plugins/android/androiddebugsupport.cpp')
-rw-r--r-- | src/plugins/android/androiddebugsupport.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/android/androiddebugsupport.cpp b/src/plugins/android/androiddebugsupport.cpp index ff5612bc3e..9a6add0ca2 100644 --- a/src/plugins/android/androiddebugsupport.cpp +++ b/src/plugins/android/androiddebugsupport.cpp @@ -89,6 +89,7 @@ RunControl *AndroidDebugSupport::createDebugRunControl(AndroidRunConfiguration * params.startMode = AttachToRemoteServer; params.displayName = AndroidManager::packageName(target); params.remoteSetupNeeded = true; + params.runConfiguration = runConfig; DebuggerRunConfigurationAspect *aspect = runConfig->extraAspect<DebuggerRunConfigurationAspect>(); @@ -119,7 +120,7 @@ RunControl *AndroidDebugSupport::createDebugRunControl(AndroidRunConfiguration * } DebuggerRunControl * const debuggerRunControl - = DebuggerRunControlFactory::doCreate(params, runConfig, errorMessage); + = DebuggerRunControlFactory::doCreate(params, errorMessage); new AndroidDebugSupport(runConfig, debuggerRunControl); return debuggerRunControl; } |