Commit 5d740f46 authored by Thomas Hartmann's avatar Thomas Hartmann
Browse files

QmlDesigner.metaInfo: crash fix

parent 8013eead
......@@ -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();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment