aboutsummaryrefslogtreecommitdiffstats
path: root/src/qmltest
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@qt.io>2022-05-05 12:17:11 +0200
committerUlf Hermann <ulf.hermann@qt.io>2022-05-17 11:15:23 +0200
commitc13d4f62b4eaef8b80cce4ce488d70c3afd43077 (patch)
treef712a5059ca37ec8c80ff5c26fae6ade8e71ff8f /src/qmltest
parentb1666574748065b485d371b813645ca04a35312d (diff)
QML: Port QV4::CompiledData::Object to new special integer bitfield
Task-number: QTBUG-99545 Change-Id: Ia57a16313e883a8d4dab15c971181440ed1d2214 Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io> Reviewed-by: Sami Shalayel <sami.shalayel@qt.io> (cherry picked from commit 745cce4391a8b6255605cb304d8bc14b11168423)
Diffstat (limited to 'src/qmltest')
-rw-r--r--src/qmltest/quicktest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qmltest/quicktest.cpp b/src/qmltest/quicktest.cpp
index b453b288bd..5cfff6ddaa 100644
--- a/src/qmltest/quicktest.cpp
+++ b/src/qmltest/quicktest.cpp
@@ -302,7 +302,7 @@ private:
if (!object) // Start at root of compilation unit if not enumerating a specific child
object = compilationUnit->objectAt(0);
- if (object->flags & Object::IsInlineComponentRoot)
+ if (object->hasFlag(Object::IsInlineComponentRoot))
return result;
if (const auto superTypeUnit = compilationUnit->resolvedTypes.value(