Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
case QMetaType::Void:
break;
default: {
- const QVector<QCustomTypeInfo> * const ct = customTypes();
Destructor destr = 0;
if (type >= FirstGuiType && type <= LastGuiType) {
Q_ASSERT(qMetaTypeGuiHelper);
return;
destr = qMetaTypeGuiHelper[type - FirstGuiType].destr;
} else {
+ const QVector<QCustomTypeInfo> * const ct = customTypes();
QReadLocker locker(customTypesLock());
if (type < User || !ct || ct->count() <= type - User)
break;