Commit 155ab185 authored by Orgad Shaneh's avatar Orgad Shaneh Committed by Orgad Shaneh
Browse files

QmlDesigner: Fix duplicate condition



Change-Id: Ic89ac122b53ba3988a9d77d9f072dd5eec19f4fd
Reviewed-by: default avatarThomas Hartmann <Thomas.Hartmann@digia.com>
parent 33ef82f4
......@@ -1220,7 +1220,7 @@ QVariant NodeMetaInfo::propertyCastedValue(const PropertyName &propertyName, con
return variant;
} else if (typeId == QVariant::UserType && typeName == QStringLiteral("var")) {
return variant;
} else if (variant.type() == QVariant::List && variant.type() == QVariant::List) {
} else if (variant.type() == QVariant::List) {
// TODO: check the contents of the list
return variant;
} else if (typeName == "var" || typeName == "variant") {
......
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