diff options
author | Milian Wolff <milian.wolff@kdab.com> | 2013-11-13 17:52:18 +0100 |
---|---|---|
committer | Milian Wolff <milian.wolff@kdab.com> | 2013-11-22 17:29:55 +0100 |
commit | 223baa1ad7f90e5fe4e61101e7cb1f6a2887d6f5 (patch) | |
tree | eff4c888646be1ff3618dd4ed2965d90ff5db87b /tests/qml | |
parent | d08ec6ff4a6adb47590d657616fe04d007d8ce66 (diff) | |
download | qtwebchannel-223baa1ad7f90e5fe4e61101e7cb1f6a2887d6f5.tar.gz |
Cleanup QML code.
Instead of initializing the property maps in Component.onCompleted, use
"var foo: ({})" instead. This looks suprising, but the "var foo: {}"
syntax won't work - it's an empty binding expression closur, not a map.
Change-Id: I9edeeeeeabb3a871a46d8bb8a991a4155040497a
Reviewed-by: Zeno Albisser <zeno.albisser@digia.com>
Diffstat (limited to 'tests/qml')
0 files changed, 0 insertions, 0 deletions