Skip to content
Snippets Groups Projects
Commit 7424f752 authored by Thomas Hartmann's avatar Thomas Hartmann
Browse files

QmlDesignermetaInfo: report property alises as lists

This is a hack and has to be fixed. We have to use instances
to resolve this properly.
parent 1749c123
No related branches found
No related tags found
No related merge requests found
...@@ -270,7 +270,8 @@ bool PropertyMetaInfo::isListProperty() const ...@@ -270,7 +270,8 @@ bool PropertyMetaInfo::isListProperty() const
throw InvalidMetaInfoException(__LINE__, Q_FUNC_INFO, __FILE__); throw InvalidMetaInfoException(__LINE__, Q_FUNC_INFO, __FILE__);
} }
return type().contains("QDeclarativeList"); return type().contains("QDeclarativeList") ||
type().contains("alias"); //### this is a nasty hack - we have to get instances in to resolve this properly
} }
/*! /*!
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment