Get rid of compilation warning.
metaObject pointer will be used in future. Change-Id: I1f335687ad1aa443def21efcb5d4a2eaf3583c44 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
This commit is contained in:
parent
d8ddc8ae89
commit
5e0406cbdf
@ -489,6 +489,7 @@ int QMetaType::registerType(const char *typeName, Deleter deleter,
|
|||||||
Constructor constructor,
|
Constructor constructor,
|
||||||
int size, TypeFlags flags, const QMetaObject *metaObject)
|
int size, TypeFlags flags, const QMetaObject *metaObject)
|
||||||
{
|
{
|
||||||
|
Q_UNUSED(metaObject);
|
||||||
QVector<QCustomTypeInfo> *ct = customTypes();
|
QVector<QCustomTypeInfo> *ct = customTypes();
|
||||||
if (!ct || !typeName || !deleter || !creator || !destructor || !constructor)
|
if (!ct || !typeName || !deleter || !creator || !destructor || !constructor)
|
||||||
return -1;
|
return -1;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user