AutoTest: Only handle document updates if necessary

Do not send qml document updated unnecessarily in case we know
that nothing had changed at all.

Change-Id: I1d6b94dcd68753e0f451a2812a752ff92f4860af
Reviewed-by: David Schulz <david.schulz@qt.io>
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
This commit is contained in:
Christian Stenger
2023-04-24 16:00:18 +02:00
parent 57d982e5ca
commit ca3d889831
2 changed files with 14 additions and 2 deletions

View File

@@ -97,6 +97,7 @@ private:
QThreadPool *m_threadPool = nullptr;
Utils::FutureSynchronizer m_futureSynchronizer;
std::unique_ptr<Utils::TaskTree> m_taskTree;
QHash<Utils::FilePath, int> m_qmlEditorRev;
};
} // namespace Internal