diff options
author | Giuseppe D'Angelo <giuseppe.dangelo@kdab.com> | 2022-06-17 17:34:55 +0200 |
---|---|---|
committer | Giuseppe D'Angelo <giuseppe.dangelo@kdab.com> | 2022-06-30 10:29:01 +0200 |
commit | 1ffe49dd199a6c502ed8c145e102de747284ba56 (patch) | |
tree | 607094a41e068d5ede638c7f24fe9d7a0d7a0eed /tests/auto/widgets/kernel | |
parent | d0eba2449adcee6f1daa33426f9c9b8ebf7c28f5 (diff) |
QWindowPrivate::setMinOrMaxSize: port to function_ref
The "callbacks" passed to setMinOrMaxSize are not stored and
outlive the callee. Therefore, don't use std::function to pass
them (by value (!)); instead employ the recently-added function_ref.
Change-Id: I37eea020920a76c063265e667c99a6040394d645
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
Diffstat (limited to 'tests/auto/widgets/kernel')
0 files changed, 0 insertions, 0 deletions