diff options
| author | Marc Mutz <marc.mutz@qt.io> | 2024-09-12 16:38:12 +0200 |
|---|---|---|
| committer | Marc Mutz <marc.mutz@qt.io> | 2024-09-21 10:03:45 +0200 |
| commit | 97cd2e384960a4e9951bd906ba4c52e07c0ea4c5 (patch) | |
| tree | 77f1a3928743866e76ef5486ed3ce0cb5515432a /src/corelib/kernel/qmetaobjectbuilder.cpp | |
| parent | c59ebcfe72d1416897f251036db34902bbb39b1a (diff) | |
QtPrivate::CurrentCompatPropertyThief: port to QScopedValueRollback
It's what the class is doing, with a bit of convenience on top, to get
from QBindingStatus* to its currentCompatProperty, so implement it
like that.
Simplifies the implementation and fixes a -Wshadow in the constructor.
Amends c4bfd32cca547504ebccfad3da4e73a2b712baea.
Pick-to: 6.8 6.7 6.5 6.2
Task-number: QTBUG-126219
Change-Id: I4ce32e6ae6e6794b578d967c3e22854091470a14
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Diffstat (limited to 'src/corelib/kernel/qmetaobjectbuilder.cpp')
0 files changed, 0 insertions, 0 deletions
