fix readonly metaproperties (revealed by compiler warning)
authorShawn Rutledge <shawn.rutledge@theqtcompany.com>
Mon, 20 Jul 2015 12:21:08 +0000 (14:21 +0200)
committerShawn Rutledge <shawn.rutledge@theqtcompany.com>
Tue, 21 Jul 2015 09:00:57 +0000 (09:00 +0000)
commit96c35a84d30b5b5cdf8feac4959891ad0bfed6a8
tree1d52c558c46d200b871385e274655c583a15dbf8
parent2c2eb24975bbf5c698d4d23c6a5060729339d9f3
fix readonly metaproperties (revealed by compiler warning)

Found thanks to -Wparentheses + gcc 5.1

Change-Id: Iad784a26d268b85f7c67623fd63f0b097a9f29f9
Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com>
src/qml/compiler/qqmltypecompiler.cpp
tests/auto/qml/qqmlproperty/data/readonlyPrimitiveVsVar.qml [new file with mode: 0644]
tests/auto/qml/qqmlproperty/tst_qqmlproperty.cpp