diff options
author | Christian Stenger <christian.stenger@qt.io> | 2019-09-05 10:42:01 +0200 |
---|---|---|
committer | Christian Stenger <christian.stenger@qt.io> | 2019-09-06 10:07:01 +0000 |
commit | 49942bc06a9976892b5a2f34a320e3c439ce0014 (patch) | |
tree | e050fd21fa0a4b91f4d74587f24df97967517c1b /src/plugins/autotest/testcodeparser.cpp | |
parent | ad0dcb9668ae84afc84803425ce2546ccaaabc10 (diff) | |
download | qt-creator-49942bc06a9976892b5a2f34a320e3c439ce0014.tar.gz |
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>
Diffstat (limited to 'src/plugins/autotest/testcodeparser.cpp')
-rw-r--r-- | src/plugins/autotest/testcodeparser.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/autotest/testcodeparser.cpp b/src/plugins/autotest/testcodeparser.cpp index 1081c80aca..c798c2104e 100644 --- a/src/plugins/autotest/testcodeparser.cpp +++ b/src/plugins/autotest/testcodeparser.cpp @@ -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); |