diff options
author | hjk <hjk@qt.io> | 2017-04-11 14:36:03 +0200 |
---|---|---|
committer | hjk <hjk@qt.io> | 2017-04-12 12:11:49 +0000 |
commit | 5d97c4871ae33c72217b23dba5467b9aed144a84 (patch) | |
tree | 9b2e3e585f349ee523945b76686ab81164bef648 /src/plugins/autotest | |
parent | ee27248a56962edda4d12d849f92ce15b32e4035 (diff) | |
download | qt-creator-5d97c4871ae33c72217b23dba5467b9aed144a84.tar.gz |
ProjectExplorer: Remove startRunControl()'s runMode parameter
It is redundant, as a RunControl has a runMode() getter.
Change-Id: Ia048b271a5003356d21f86a3f778827d23466037
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Diffstat (limited to 'src/plugins/autotest')
-rw-r--r-- | src/plugins/autotest/testrunner.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/plugins/autotest/testrunner.cpp b/src/plugins/autotest/testrunner.cpp index 1b0408452e..f02262f891 100644 --- a/src/plugins/autotest/testrunner.cpp +++ b/src/plugins/autotest/testrunner.cpp @@ -346,9 +346,7 @@ void TestRunner::debugTests() connect(this, &TestRunner::requestStopTestRun, runControl, &Debugger::DebuggerRunControl::stop); connect(runControl, &Debugger::DebuggerRunControl::finished, this, &TestRunner::onFinished); - ProjectExplorer::ProjectExplorerPlugin::startRunControl( - runControl, ProjectExplorer::Constants::DEBUG_RUN_MODE); - + ProjectExplorer::ProjectExplorerPlugin::startRunControl(runControl); } void TestRunner::runOrDebugTests() |