Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
5.12.3
-
None
Description
When connecting a replica to a source, all properties get serialized in the "initialize" IPC package.
This is done by using the serializeProperty function. This contains the following code:
if (property.isEnumType()) { ds << QVariant::fromValue<qint32>(value.toInt()); return; }
This works fine for enums, but it doesn't for a QFlag, as this always returns 0.
This is only a problem for the initialization as during a update of the property a InvokePacket is send as well and for this the QVariant::serialize() function is used instead which transfers the correct value.