diff --git a/src/plugins/autotest/testcodeparser.cpp b/src/plugins/autotest/testcodeparser.cpp index a11f32787bc..ff0774b31f7 100644 --- a/src/plugins/autotest/testcodeparser.cpp +++ b/src/plugins/autotest/testcodeparser.cpp @@ -79,6 +79,8 @@ TestCodeParser::TestCodeParser(TestTreeModel *parent) this, &TestCodeParser::onAllTasksFinished); connect(this, &TestCodeParser::partialParsingFinished, this, &TestCodeParser::onPartialParsingFinished); + connect(&m_futureWatcher, &QFutureWatcher::started, + this, &TestCodeParser::parsingStarted); connect(&m_futureWatcher, &QFutureWatcher::finished, this, &TestCodeParser::onFinished); connect(&m_futureWatcher, &QFutureWatcher::resultReadyAt, @@ -747,7 +749,6 @@ void TestCodeParser::scanForTests(const QStringList &fileList) Core::ProgressManager::addTask(future, tr("Scanning for Tests"), Autotest::Constants::TASK_PARSE); } - emit parsingStarted(); } void TestCodeParser::onTaskStarted(Core::Id type)