diff options
author | Christian Stenger <christian.stenger@qt.io> | 2021-09-02 09:41:24 +0200 |
---|---|---|
committer | Christian Stenger <christian.stenger@qt.io> | 2021-09-02 08:43:11 +0000 |
commit | d59f0f10513950d2fe73b4678e9073e35cfef8bd (patch) | |
tree | 9ef15c7bfc9aec7656969052846a12b080e6f691 /src/plugins/autotest/quick/quicktestparser.cpp | |
parent | dc40af5fa57f6ed5cfd9cfecb3d8f09e8de726f8 (diff) | |
download | qt-creator-d59f0f10513950d2fe73b4678e9073e35cfef8bd.tar.gz |
AutoTest: Do not unnecessarily update QmlJS code model
We forgot to update the timestamp indicators which lead to several
triggered updates e.g. when modifying and storing a qml file inside
a watched directory.
Change-Id: I30858ea9e8073d648a84c7f188dff18ddef5b1c1
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Reviewed-by: David Schulz <david.schulz@qt.io>
Diffstat (limited to 'src/plugins/autotest/quick/quicktestparser.cpp')
-rw-r--r-- | src/plugins/autotest/quick/quicktestparser.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/autotest/quick/quicktestparser.cpp b/src/plugins/autotest/quick/quicktestparser.cpp index 70875d4bd0..0aa7d56e3a 100644 --- a/src/plugins/autotest/quick/quicktestparser.cpp +++ b/src/plugins/autotest/quick/quicktestparser.cpp @@ -312,6 +312,7 @@ void QuickTestParser::handleDirectoryChanged(const QString &directory) return filesAndDates.value(file) != watched.value(file); }); if (timestampChanged) { + m_watchedFiles[directory] = filesAndDates; PathsAndLanguages paths; paths.maybeInsert(Utils::FilePath::fromString(directory), Dialect::Qml); QFutureInterface<void> future; |