CommandLine: Use more 1-arg c'tor

Change-Id: If52c4094f94859d51e31862d913b1756e333e512
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
Jarek Kobus
2024-05-16 12:31:24 +02:00
parent 34f4ec11bd
commit 53de9701f4
24 changed files with 46 additions and 51 deletions

View File

@@ -383,7 +383,7 @@ void TestRunner::runTestsHelper()
connect(testStorage->m_outputReader.get(), &TestOutputReader::newOutputLineAvailable,
TestResultsPane::instance(), &TestResultsPane::addOutputLine);
CommandLine command{config->testExecutable(), {}};
CommandLine command{config->testExecutable()};
if (config->testBase()->type() == ITestBase::Framework) {
TestConfiguration *current = static_cast<TestConfiguration *>(config);
QStringList omitted;