diff options
author | hjk <hjk121@nokiamail.com> | 2014-10-17 13:40:04 +0200 |
---|---|---|
committer | hjk <hjk121@nokiamail.com> | 2014-10-20 10:23:56 +0200 |
commit | 55b2bb16dccc68010e855da48e8a8f6c25a3527a (patch) | |
tree | c270a4f050a223973580a4689962fa3d1f3c2e4b /src/plugins/qnx/qnxruncontrolfactory.cpp | |
parent | ca9ed45016ad16042dd59d44b1ea100661293c36 (diff) | |
download | qt-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/qnx/qnxruncontrolfactory.cpp')
-rw-r--r-- | src/plugins/qnx/qnxruncontrolfactory.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/plugins/qnx/qnxruncontrolfactory.cpp b/src/plugins/qnx/qnxruncontrolfactory.cpp index 84a20e5ff3..b13722d27b 100644 --- a/src/plugins/qnx/qnxruncontrolfactory.cpp +++ b/src/plugins/qnx/qnxruncontrolfactory.cpp @@ -41,8 +41,7 @@ #include "qnxdeviceconfiguration.h" #include <debugger/debuggerengine.h> -#include <debugger/debuggerplugin.h> -#include <debugger/debuggerrunner.h> +#include <debugger/debuggerruncontrol.h> #include <debugger/debuggerrunconfigurationaspect.h> #include <debugger/debuggerstartparameters.h> #include <debugger/debuggerkitinformation.h> @@ -181,7 +180,7 @@ RunControl *QnxRunControlFactory::create(RunConfiguration *runConfig, RunMode mo return new QnxRunControl(rc); case DebugRunMode: { const DebuggerStartParameters params = createDebuggerStartParameters(rc); - DebuggerRunControl * const runControl = DebuggerPlugin::createDebugger(params, rc, errorMessage); + DebuggerRunControl * const runControl = DebuggerRunControlFactory::doCreate(params, rc, errorMessage); if (!runControl) return 0; |