Fix property access to QQmlPropertyMap objects when addressed via id
authorSimon Hausmann <simon.hausmann@digia.com>
Thu, 2 Jan 2014 11:17:31 +0000 (12:17 +0100)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Thu, 2 Jan 2014 22:36:58 +0000 (23:36 +0100)
commitbf3dfe64068d76f98a2176530e1158d5143e09b2
treec50c3f52bef636474e851c010b0fff0e0eb936b3
parenteb3087e4b0b770200512925730c328a8bda7f3d7
Fix property access to QQmlPropertyMap objects when addressed via id

Property access to id objects is optimized at compile time, but we cannot do
that for QQmlPropertyMap instances (or generally fully dynamic types).

This issue was a regression against Qt 5.1

Task-number: QTBUG-35906
Change-Id: I759a1a899f6a3a1f6466282f455b289ad7451086
Reviewed-by: Albert Astals Cid <albert.astals@canonical.com>
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
src/qml/compiler/qqmlcodegenerator.cpp
src/qml/qml/qqmlcompiler.cpp
tests/auto/qml/qqmlpropertymap/tst_qqmlpropertymap.cpp