Remove Q_UNUSED for the metaObject.
The object is no longer unused. Change-Id: Ia82539220855321f2986c5791b70be5df399baca Reviewed-by: Laszlo Papp <lpapp@kde.org> Reviewed-by: Olivier Goffart <ogoffart@woboq.com> Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@nokia.com>
This commit is contained in:
parent
dcf12533b7
commit
85d664c929
@ -442,7 +442,6 @@ int QMetaType::registerType(const char *typeName, Deleter deleter,
|
||||
Constructor constructor,
|
||||
int size, TypeFlags flags, const QMetaObject *metaObject)
|
||||
{
|
||||
Q_UNUSED(metaObject);
|
||||
#ifdef QT_NO_QOBJECT
|
||||
NS(QByteArray) normalizedTypeName = typeName;
|
||||
#else
|
||||
@ -469,7 +468,6 @@ int QMetaType::registerNormalizedType(const NS(QByteArray) &normalizedTypeName,
|
||||
Constructor constructor,
|
||||
int size, TypeFlags flags, const QMetaObject *metaObject)
|
||||
{
|
||||
Q_UNUSED(metaObject);
|
||||
QVector<QCustomTypeInfo> *ct = customTypes();
|
||||
if (!ct || normalizedTypeName.isEmpty() || !deleter || !creator || !destructor || !constructor)
|
||||
return -1;
|
||||
|
Loading…
Reference in New Issue
Block a user