mirror of
https://bitbucket.org/smil3y/katie.git
synced 2025-02-25 03:12:56 +00:00
Revert "replace hardcoded value with enum in QDBusMetaObjectGenerator::parseProperties()"
This reverts commit e2ac229d74
.
This commit is contained in:
parent
ebb4fda9b1
commit
b56bc77160
1 changed files with 1 additions and 1 deletions
|
@ -336,7 +336,7 @@ void QDBusMetaObjectGenerator::parseProperties()
|
||||||
|
|
||||||
if (mp.typeName == "QDBusVariant")
|
if (mp.typeName == "QDBusVariant")
|
||||||
mp.flags |= 0xff << 24;
|
mp.flags |= 0xff << 24;
|
||||||
else if (mp.type < QVariant::Invalid)
|
else if (mp.type < 0xff)
|
||||||
// encode the type in the flags
|
// encode the type in the flags
|
||||||
mp.flags |= mp.type << 24;
|
mp.flags |= mp.type << 24;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue