diff options
author | Fabian Kosmale <fabian.kosmale@qt.io> | 2021-06-17 12:33:54 +0200 |
---|---|---|
committer | Fabian Kosmale <fabian.kosmale@qt.io> | 2021-06-17 19:32:56 +0200 |
commit | 6b36e783521993df8de6477c789aa26c38803656 (patch) | |
tree | 72a0e60c5e65742271c564d1cb4d11d54910daca /doc/global/template/scripts | |
parent | 8aee7c6b29be5a0ee7d5e7cfcb5f2db762b2e28b (diff) |
QBindable: Use setter in setValue for QObjectCompatProperty
Directly writing to the underlying property storage has the potential of
breaking all kinds of internal invariants. As we return QBindable in
the public interface, we should not grant callers access to the
internals of the object.
Pick-to: 6.2 6.1
Change-Id: I737ff293b9d921b7de861da5ae23356c17690b78
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Reviewed-by: Andreas Buhr <andreas.buhr@qt.io>
Diffstat (limited to 'doc/global/template/scripts')
0 files changed, 0 insertions, 0 deletions