OSDN Git Service
(root)
/
kde
/
Katie.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ebb4fda
)
Revert "replace hardcoded value with enum in QDBusMetaObjectGenerator::parseProperties()"
author
Ivailo Monev
<xakepa10@gmail.com>
Sat, 23 Jan 2021 21:18:34 +0000
(23:18 +0200)
committer
Ivailo Monev
<xakepa10@gmail.com>
Sat, 23 Jan 2021 21:18:34 +0000
(23:18 +0200)
This reverts commit
e2ac229d74fd8fcba6bfdff73a6dbfc0a788f836
.
src/dbus/qdbusmetaobject.cpp
patch
|
blob
|
history
diff --git
a/src/dbus/qdbusmetaobject.cpp
b/src/dbus/qdbusmetaobject.cpp
index
9058ee5
..
5a9e6e0
100644
(file)
--- a/
src/dbus/qdbusmetaobject.cpp
+++ b/
src/dbus/qdbusmetaobject.cpp
@@
-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;