diff options
| author | Sami Shalayel <sami.shalayel@qt.io> | 2025-08-21 16:16:14 +0200 |
|---|---|---|
| committer | Sami Shalayel <sami.shalayel@qt.io> | 2025-09-02 09:04:47 +0200 |
| commit | 28377160bec02d735f2391fbba34f3a1c50b21b2 (patch) | |
| tree | 972bc6c1c830f77f92bab76392120a3b50ec9da8 /src/qml/jsruntime/qv4sequenceobject.cpp | |
| parent | d0aa527a45084b00f4c6a69f3b900b213797a1d0 (diff) | |
qqmlcodemodel: extract version checking code into static method
Prepare for QTBUG-119163 that will require some kind of "force update"
to reconstruct the DomItem once the CMake build in the background
finishes.
Extract the version-testing logic into static methods, one to test the
version of the "normal" document, one for the valid document, and one
that acts on the results of the two first methods.
This will allow to pass a "force" flag in the future that skips the
version checks.
Also add capitalization to the warnings and correct typos.
Task-number: QTBUG-119163
Change-Id: Ia72be615b527a571332640ceb6c7f6085f03ded9
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Diffstat (limited to 'src/qml/jsruntime/qv4sequenceobject.cpp')
0 files changed, 0 insertions, 0 deletions
