Revert "replace hardcoded value with enum in QDBusMetaObjectGenerator::parseProperties()"

This reverts commit e2ac229d74.
This commit is contained in:
Ivailo Monev 2021-01-23 23:18:34 +02:00
parent ebb4fda9b1
commit b56bc77160

View file

@ -336,7 +336,7 @@ void QDBusMetaObjectGenerator::parseProperties()
if (mp.typeName == "QDBusVariant")
mp.flags |= 0xff << 24;
else if (mp.type < QVariant::Invalid)
else if (mp.type < 0xff)
// encode the type in the flags
mp.flags |= mp.type << 24;