diff options
author | Antti Määttä <antti.maatta@qt.io> | 2019-05-10 15:06:09 +0300 |
---|---|---|
committer | Antti Määttä <antti.maatta@qt.io> | 2019-05-10 12:34:18 +0000 |
commit | 7b403846df988369bece70999565a502a7427bab (patch) | |
tree | 4205a7dbe0348d2a4e25030250c102738df401e2 /src/Runtime | |
parent | 55c4e72055f7a00fdb55eb81662968ac6b3d6e56 (diff) |
Fix visibility toggle using data input
Task-number: QT3DS-3358
Change-Id: I615e179d7eadfca01be516d8abe0d6b4efb6a211
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
Diffstat (limited to 'src/Runtime')
-rw-r--r-- | src/Runtime/Source/runtime/Qt3DSQmlEngine.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Runtime/Source/runtime/Qt3DSQmlEngine.cpp b/src/Runtime/Source/runtime/Qt3DSQmlEngine.cpp index b0ea1644..502d7e81 100644 --- a/src/Runtime/Source/runtime/Qt3DSQmlEngine.cpp +++ b/src/Runtime/Source/runtime/Qt3DSQmlEngine.cpp @@ -772,7 +772,7 @@ void CQmlEngineImpl::SetDataInputValue( break; } case ATTRIBUTETYPE_BOOL: { - bool valueBool; + uint valueBool; // SetAttribute requires at least 32-bit variable if (diDef.type == qt3ds::runtime::DataInputTypeBoolean || diDef.type == qt3ds::runtime::DataInputTypeVariant) { valueBool = value.toBool(); |