Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
qproperty_p.h: fix -Wshadow in notify()
Clang warning: .../qproperty_p.h:666:58: warning: declaration shadows a local variable [-Wshadow] 666 | if (QPropertyObserverPointer observer = d.firstObserver()) | ^ .../qproperty_p.h:660:46: note: previous declaration is here 660 | if (QPropertyObserverPointer observer = d.firstObserver()) { | Fix by abbreviating the variable name in if statement. Pick-to: 6.8 Change-Id: I7905de08f15124466f8aa587691b2880c889199f Reviewed-by: Ulf Hermann <[email protected]>
- Loading branch information