summaryrefslogtreecommitdiffstats
path: root/tests/auto/qiodevice
diff options
context:
space:
mode:
authorRobert Griebl <robert.griebl@pelagicore.com>2014-07-30 17:00:26 (GMT)
committerRobert Griebl <robert.griebl@pelagicore.com>2014-08-05 12:49:17 (GMT)
commitbb0239e9b3c0b1d00255ef9dfbb36c1ba4e2d123 (patch)
tree5c99db90db11ddc7e62ff83ea3a9e2267a83abeb /tests/auto/qiodevice
parentec808b78e1b8d5cf128b3ef3e6933cb5ddd48544 (diff)
downloadQt-bb0239e9b3c0b1d00255ef9dfbb36c1ba4e2d123.zip
Qt-bb0239e9b3c0b1d00255ef9dfbb36c1ba4e2d123.tar.gz
Qt-bb0239e9b3c0b1d00255ef9dfbb36c1ba4e2d123.tar.bz2
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: I4e5052af9fb296a4b692df7840bdd188298f7416 Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'tests/auto/qiodevice')
0 files changed, 0 insertions, 0 deletions