AutoTest: Fix endless timer timeout

Change-Id: I6222e9b2102e5cc65b940c25ac0c877c07a48462
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
Nikolai Kosjar
2019-09-02 12:20:49 +02:00
committed by Christian Stenger
parent 2399e4476b
commit 6e0697cb58

View File

@@ -59,6 +59,7 @@ TestTreeModel::TestTreeModel(QObject *parent) :
connect(ProjectExplorer::SessionManager::instance(), connect(ProjectExplorer::SessionManager::instance(),
&ProjectExplorer::SessionManager::startupProjectChanged, &ProjectExplorer::SessionManager::startupProjectChanged,
this, &TestTreeModel::onStartupProjectChanged); this, &TestTreeModel::onStartupProjectChanged);
m_syncFrameworksTimer.setSingleShot(true);
connect(&m_syncFrameworksTimer, &QTimer::timeout, this, &TestTreeModel::syncTestFrameworks); connect(&m_syncFrameworksTimer, &QTimer::timeout, this, &TestTreeModel::syncTestFrameworks);
setupParsingConnections(); setupParsingConnections();
} }