summaryrefslogtreecommitdiff
path: root/src/plugins/android/androiddebugsupport.cpp
diff options
context:
space:
mode:
authorhjk <hjk121@nokiamail.com>2014-10-17 13:40:04 +0200
committerhjk <hjk121@nokiamail.com>2014-10-20 10:23:56 +0200
commit55b2bb16dccc68010e855da48e8a8f6c25a3527a (patch)
treec270a4f050a223973580a4689962fa3d1f3c2e4b /src/plugins/android/androiddebugsupport.cpp
parentca9ed45016ad16042dd59d44b1ea100661293c36 (diff)
downloadqt-creator-55b2bb16dccc68010e855da48e8a8f6c25a3527a.tar.gz
Debugger: Consolidate RunControl creation
Export factory, de-export plugin, to remove one indirection Change-Id: I13a46460d07d5ded6b26f2b5ceccd01142fb10e8 Reviewed-by: Christian Stenger <christian.stenger@digia.com>
Diffstat (limited to 'src/plugins/android/androiddebugsupport.cpp')
-rw-r--r--src/plugins/android/androiddebugsupport.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/plugins/android/androiddebugsupport.cpp b/src/plugins/android/androiddebugsupport.cpp
index b2e085e364..ef27165dd3 100644
--- a/src/plugins/android/androiddebugsupport.cpp
+++ b/src/plugins/android/androiddebugsupport.cpp
@@ -36,10 +36,9 @@
#include "androidqtsupport.h"
#include <debugger/debuggerengine.h>
-#include <debugger/debuggerplugin.h>
#include <debugger/debuggerkitinformation.h>
#include <debugger/debuggerrunconfigurationaspect.h>
-#include <debugger/debuggerrunner.h>
+#include <debugger/debuggerruncontrol.h>
#include <debugger/debuggerstartparameters.h>
#include <projectexplorer/buildconfiguration.h>
@@ -121,7 +120,7 @@ RunControl *AndroidDebugSupport::createDebugRunControl(AndroidRunConfiguration *
}
DebuggerRunControl * const debuggerRunControl
- = DebuggerPlugin::createDebugger(params, runConfig, errorMessage);
+ = DebuggerRunControlFactory::doCreate(params, runConfig, errorMessage);
new AndroidDebugSupport(runConfig, debuggerRunControl);
return debuggerRunControl;
}