Remove an useless assert.

Change-Id: Icf6f6234d6f090fe4928830783620e7255362293
Reviewed-by: Olivier Goffart <ogoffart@woboq.com>
This commit is contained in:
Jędrzej Nowacki 2014-06-25 10:40:36 +02:00
parent e6f869c022
commit 179fefe8d2

View File

@ -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());
} }