forked from qt-creator/qt-creator
AutoTest: Re-order responsibilities
Keep the timer for syncing frameworks where it is really used, do not create functions that are not necessary at all. Change-Id: Ie0a49a2611dc67510b72562455ea2a1af7b1c538 Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
@@ -206,6 +206,7 @@ void TestCodeParser::onQmlDocumentUpdated(const QmlJS::Document::Ptr &document)
|
||||
|
||||
void TestCodeParser::onStartupProjectChanged(Project *project)
|
||||
{
|
||||
m_model->synchronizeTestFrameworks(); // we might have project settings
|
||||
if (m_parserState == FullParse || m_parserState == PartialParse) {
|
||||
qCDebug(LOG) << "Canceling scanForTest (startup project changed)";
|
||||
Core::ProgressManager::instance()->cancelTasks(Constants::TASK_PARSE);
|
||||
|
||||
Reference in New Issue
Block a user