summaryrefslogtreecommitdiffstats
path: root/src/gui/opengl
diff options
context:
space:
mode:
authorGiuseppe D'Angelo <giuseppe.dangelo@kdab.com>2022-06-17 17:34:55 +0200
committerGiuseppe D'Angelo <giuseppe.dangelo@kdab.com>2022-06-30 10:29:01 +0200
commit1ffe49dd199a6c502ed8c145e102de747284ba56 (patch)
tree607094a41e068d5ede638c7f24fe9d7a0d7a0eed /src/gui/opengl
parentd0eba2449adcee6f1daa33426f9c9b8ebf7c28f5 (diff)
QWindowPrivate::setMinOrMaxSize: port to function_refHEADdev
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 'src/gui/opengl')
0 files changed, 0 insertions, 0 deletions