diff options
author | Marc Mutz <[email protected]> | 2025-06-14 00:12:02 +0200 |
---|---|---|
committer | Marc Mutz <[email protected]> | 2025-06-18 16:47:25 +0000 |
commit | 522d505dd81834d22d366d0f36a26451dedafe11 (patch) | |
tree | af30aefce49895bc9b3d2007d983e6521acf0ee8 /examples/opengl/hellogl2/mainwindow.cpp | |
parent | 81e9adee48a72bcac3648a90f0646b777b852900 (diff) |
This method executes the wrapped function ahead of destruction, and
can alleviate the need to hold QScopeGuards in optional<>s to emulate
the functionality.
Port such a case in tst_QEventLoop as demonstration.
[ChangeLog][QtCore][QScopeGuard] Added commit() method.
Change-Id: Ie2674e1c82e242bdeb1eeaf183607e5c71c1448a
Reviewed-by: Thiago Macieira <[email protected]>
Diffstat (limited to 'examples/opengl/hellogl2/mainwindow.cpp')
0 files changed, 0 insertions, 0 deletions