Remove an useless assert.
Change-Id: Icf6f6234d6f090fe4928830783620e7255362293 Reviewed-by: Olivier Goffart <ogoffart@woboq.com>
This commit is contained in:
parent
e6f869c022
commit
179fefe8d2
@ -183,7 +183,6 @@ private:
|
|||||||
tp = QMetaType::UnknownType;
|
tp = QMetaType::UnknownType;
|
||||||
}
|
}
|
||||||
if (tp == QMetaType::UnknownType) {
|
if (tp == QMetaType::UnknownType) {
|
||||||
Q_ASSERT(tp != QMetaType::Void); // void parameter => metaobject is corrupt
|
|
||||||
qWarning("Don't know how to handle '%s', use qRegisterMetaType to register it.",
|
qWarning("Don't know how to handle '%s', use qRegisterMetaType to register it.",
|
||||||
member.parameterNames().at(i).constData());
|
member.parameterNames().at(i).constData());
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user