diff --git a/src/plugins/autotest/testcodeparser.cpp b/src/plugins/autotest/testcodeparser.cpp index 22ddbd31520..9f60f302e0d 100644 --- a/src/plugins/autotest/testcodeparser.cpp +++ b/src/plugins/autotest/testcodeparser.cpp @@ -130,6 +130,8 @@ void TestCodeParser::syncTestFrameworks(const QVector &frameworkIds) void TestCodeParser::emitUpdateTestTree() { + if (m_testCodeParsers.isEmpty()) + return; if (m_singleShotScheduled) { qCDebug(LOG) << "not scheduling another updateTestTree"; return;