diff --git a/src/corelib/kernel/qmetatype.cpp b/src/corelib/kernel/qmetatype.cpp index bfcf546340..c0bc82ed29 100644 --- a/src/corelib/kernel/qmetatype.cpp +++ b/src/corelib/kernel/qmetatype.cpp @@ -207,6 +207,7 @@ const char *QtMetaTypePrivate::typedefNameForType(const QtPrivate::QMetaTypeInte if (it.value() == type_d && it.key() != officialName) otherNames << it.key(); } + l.unlock(); if (!otherNames.isEmpty()) qWarning("QMetaType: type %s has more than one typedef alias: %s, %s", type_d->name, name, otherNames.join(", ").constData());