diff options
author | Craig Scott <craig.scott@qt.io> | 2021-08-31 16:15:53 +1000 |
---|---|---|
committer | Craig Scott <craig.scott@qt.io> | 2021-09-01 23:47:08 +1000 |
commit | fdc1e18f8b829efd1f57dc8514d2b0a0ccb7f447 (patch) | |
tree | c8c3fa49f34f8fa317214eb5182247da2d03333f /examples/quick/shapes/item18.qml | |
parent | 6d97268b4c88d09184f796294966bd967f8fef98 (diff) |
Ensure versionless wrappers do not introduce a new variable scope
Using function instead of macro prevented the wrappers from being able
to pass back any variables set by the wrapped function in the calling
scope. Prefer macros to avoid silently swallowing such variable setting.
Task-number: QTBUG-96121
Pick-to: 6.2
Change-Id: Ia0695fbf65375cc9541612736e34e873c0230832
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'examples/quick/shapes/item18.qml')
0 files changed, 0 insertions, 0 deletions