diff options
| author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2025-10-20 08:43:23 +0200 |
|---|---|---|
| committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2025-10-20 15:52:27 +0200 |
| commit | 88f47e44d2d62286b3c3468642d9c9efa54e7fb6 (patch) | |
| tree | 376686a166078209aafae79c4dceeee1a5efcab3 /src/corelib/kernel/qmetaobjectbuilder.cpp | |
| parent | e8aedc9fa0b7a5c45c5de8f2e2e08576ac0974b7 (diff) | |
QMetaObjectBuilder: Fix detecting enum properties from QMetaType
Fix condition wrongly inverted by dd95d5126ce9e022dfd25f0f44ee0f2a9e50f45e.
Fixes: PYSIDE-3217
Pick-to: 6.10
Change-Id: I3c30541617a90ac32020aaddfca79024ba1ba351
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'src/corelib/kernel/qmetaobjectbuilder.cpp')
| -rw-r--r-- | src/corelib/kernel/qmetaobjectbuilder.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/kernel/qmetaobjectbuilder.cpp b/src/corelib/kernel/qmetaobjectbuilder.cpp index a2719f97da7..6065bf2baea 100644 --- a/src/corelib/kernel/qmetaobjectbuilder.cpp +++ b/src/corelib/kernel/qmetaobjectbuilder.cpp @@ -1339,7 +1339,7 @@ static int buildMetaObject(QMetaObjectBuilderPrivate *d, char *buf, [[maybe_unused]] int flags = prop.flags; - if (isBuiltinType(prop.type)) + if (!isBuiltinType(prop.type)) flags |= EnumOrFlag; if constexpr (mode == Construct) { |
