summaryrefslogtreecommitdiffstats
path: root/src/declarative/graphicsitems
diff options
context:
space:
mode:
authorRobert Griebl <robert.griebl@pelagicore.com>2014-07-31 16:14:03 +0200
committerRobert Griebl <robert.griebl@pelagicore.com>2014-08-05 16:48:36 +0200
commit9cbb6fab48f10522a012af8e535b1750a553a817 (patch)
tree70a6ae95358775657e18d7b25e9ba4f0c4614174 /src/declarative/graphicsitems
parentdcbd6c64049682fb6cff0e73a5fdd979de7642dd (diff)
Add handling of value-type lists to QDeclarativeExpression::evaluate()
QDeclarativeExpression::evaluate() converts all arrays to QList<QObject *>, even if the items cannot be represented by a QObject *. In case of a string-list, a QList of null-pointers is returned (which isn't very helpful). This patch makes evaluate() convert arrays, which contain ONLY value-type items, into a plain QVariantList. Change-Id: Ib8452cf9dd0241f146955f5de35336f48b9007c1 Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'src/declarative/graphicsitems')
0 files changed, 0 insertions, 0 deletions