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>
| commit | 223baa1ad7f90e5fe4e61101e7cb1f6a2887d6f5 |
| parent | d08ec6ff4a6adb47590d657616fe04d007d8ce66 |
| author | Milian Wolff <milian.wolff@kdab.com> |
| committer | Milian Wolff <milian.wolff@kdab.com> |
| commit time | Fri, 22 Nov 2013 17:29:55 +0100 |