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:
a6e3e70
)
remove unnecessary runtime metaobject revision check
author
Ivailo Monev
<xakepa10@gmail.com>
Sun, 17 Apr 2016 07:03:05 +0000
(07:03 +0000)
committer
Ivailo Monev
<xakepa10@gmail.com>
Sun, 17 Apr 2016 07:03:05 +0000
(07:03 +0000)
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
src/declarative/qml/qmetaobjectbuilder.cpp
patch
|
blob
|
history
diff --git
a/src/declarative/qml/qmetaobjectbuilder.cpp
b/src/declarative/qml/qmetaobjectbuilder.cpp
index
2361214
..
2bfefda
100644
(file)
--- a/
src/declarative/qml/qmetaobjectbuilder.cpp
+++ b/
src/declarative/qml/qmetaobjectbuilder.cpp
@@
-731,9
+731,8
@@
void QMetaObjectBuilder::addMetaObject
if ((members & StaticMetacall) != 0) {
Q_ASSERT(priv(prototype->d.data)->revision >= 6);
- if (priv(prototype->d.data)->revision >= 6) {
- if (prototype->d.static_metacall)
- setStaticMetacallFunction(prototype->d.static_metacall);
+ if (prototype->d.static_metacall) {
+ setStaticMetacallFunction(prototype->d.static_metacall);
}
}
}