diff options
author | hjk <hjk@qt.io> | 2019-03-12 15:53:54 +0100 |
---|---|---|
committer | hjk <hjk@qt.io> | 2019-03-12 16:38:45 +0000 |
commit | efb7d8deb77523cc0294d01d67e277e4ce471d33 (patch) | |
tree | 6bf9415373ed0e6f7daa9e54d26e7089067e49fe /src/plugins/qnx | |
parent | d6dfa7fa77241078098b8ce0b5dad1c1b86ed1d7 (diff) |
ProjectExplorer: Split RunControl constructor
Into a trivial bit and two setters. Plan is to use it only with information
that is truly there (e.g. kit/device only) at the user side without having
to invent a RunConfiguration "handle".
Also remove some dead code in the test runner.
Change-Id: I987881e41722178b14b91f973b84cbdb67a9f85e
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to 'src/plugins/qnx')
-rw-r--r-- | src/plugins/qnx/qnxdebugsupport.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/qnx/qnxdebugsupport.cpp b/src/plugins/qnx/qnxdebugsupport.cpp index 883cb01325c..2804c0fa38f 100644 --- a/src/plugins/qnx/qnxdebugsupport.cpp +++ b/src/plugins/qnx/qnxdebugsupport.cpp @@ -266,7 +266,8 @@ void QnxAttachDebugSupport::showProcessesDialog() localExecutable = aspect->fileName().toString(); } - auto runControl = new RunControl(runConfig, ProjectExplorer::Constants::DEBUG_RUN_MODE); + auto runControl = new RunControl(ProjectExplorer::Constants::DEBUG_RUN_MODE); + runControl->setRunConfiguration(runConfig); auto debugger = new QnxAttachDebugSupport(runControl); debugger->setStartMode(AttachToRemoteServer); debugger->setCloseMode(DetachAtClose); |