From 6e0697cb5828e91aaff8626077aab563ea55e76f Mon Sep 17 00:00:00 2001 From: Nikolai Kosjar Date: Mon, 2 Sep 2019 12:20:49 +0200 Subject: [PATCH] AutoTest: Fix endless timer timeout Change-Id: I6222e9b2102e5cc65b940c25ac0c877c07a48462 Reviewed-by: Christian Stenger --- src/plugins/autotest/testtreemodel.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/plugins/autotest/testtreemodel.cpp b/src/plugins/autotest/testtreemodel.cpp index 2715e0a5049..66c4d646ed1 100644 --- a/src/plugins/autotest/testtreemodel.cpp +++ b/src/plugins/autotest/testtreemodel.cpp @@ -59,6 +59,7 @@ TestTreeModel::TestTreeModel(QObject *parent) : connect(ProjectExplorer::SessionManager::instance(), &ProjectExplorer::SessionManager::startupProjectChanged, this, &TestTreeModel::onStartupProjectChanged); + m_syncFrameworksTimer.setSingleShot(true); connect(&m_syncFrameworksTimer, &QTimer::timeout, this, &TestTreeModel::syncTestFrameworks); setupParsingConnections(); }