summaryrefslogtreecommitdiff
path: root/src/plugins/autotest
diff options
context:
space:
mode:
authorhjk <hjk@qt.io>2017-04-11 14:36:03 +0200
committerhjk <hjk@qt.io>2017-04-12 12:11:49 +0000
commit5d97c4871ae33c72217b23dba5467b9aed144a84 (patch)
tree9b2e3e585f349ee523945b76686ab81164bef648 /src/plugins/autotest
parentee27248a56962edda4d12d849f92ce15b32e4035 (diff)
downloadqt-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.cpp4
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()