diff --git a/src/plugins/qmldesigner/designercore/metainfo/nodemetainfo.cpp b/src/plugins/qmldesigner/designercore/metainfo/nodemetainfo.cpp index 6078b9438f9cae6f8cec2d2291e799ffe31348e7..122c5deace55894c90f1364c5876c9470dbf46ec 100644 --- a/src/plugins/qmldesigner/designercore/metainfo/nodemetainfo.cpp +++ b/src/plugins/qmldesigner/designercore/metainfo/nodemetainfo.cpp @@ -256,7 +256,7 @@ QHash<QString,PropertyMetaInfo> NodeMetaInfo::dotProperties() const foreach (const QString &propertyName, properties(false).keys()) { if (property(propertyName).hasDotSubProperties()) { - QString propertyType = property(propertyName, false).type(); + QString propertyType = property(propertyName, false).isValid() ? property(propertyName, false).type() : QString(); if (propertyType.right(1) == "*") propertyType = propertyType.left(propertyType.size() - 1).trimmed();