diff options
author | Ulf Hermann <ulf.hermann@qt.io> | 2019-09-27 17:01:27 +0200 |
---|---|---|
committer | Ulf Hermann <ulf.hermann@qt.io> | 2019-10-02 11:20:05 +0200 |
commit | 291d118b0f4cc2f53e2fb8ca0778d421fcf5c845 (patch) | |
tree | 5c1d86b6039388215a50667a755e4e7cb61734f0 /tools/qmlplugindump | |
parent | abc0fc64b3d797af4d47cd2f7e3df68a3114c120 (diff) |
Examples: Avoid Qt.createQmlObject()
We don't want to encourage Qt.createQmlObject(). It's the equivalent of
eval() in JavaScript.
This has the added benefit that the shapes actually react to changes in
the parameters now. Before, once a shape was drawn, it didn't get
updated when you manipulated the line width or fill controls.
Change-Id: I8d5b7598799b52043f86fd1f617e31de09331891
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'tools/qmlplugindump')
0 files changed, 0 insertions, 0 deletions