forked from qt-creator/qt-creator
AutoTest: Fix endless timer timeout
Change-Id: I6222e9b2102e5cc65b940c25ac0c877c07a48462 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
committed by
Christian Stenger
parent
2399e4476b
commit
6e0697cb58
@@ -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();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user