diff options
| author | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2023-10-10 18:27:44 +0200 |
|---|---|---|
| committer | Volker Hilsheimer <volker.hilsheimer@qt.io> | 2023-10-18 18:37:51 +0000 |
| commit | 306551b84afd3d6433b4d80a2f7a5cf8af1cf66f (patch) | |
| tree | 86a2231e34e30f0474ffc7ce0a1c3d2257459e47 /src/qml/jsruntime/qv4function.cpp | |
| parent | 6ccee0304d0bf09f845c5115c82a6ef67f58008d (diff) | |
QQuickWindowImpl: Use direct connection for {visible,visibility}Changed
The connections were made queued because QWindow would emit them also
during destruction, at which point the QQuickWindowImpl was already
destructed, but we can work around this by calling destroy() explicitly
in our destructor. This allows us to use direct connections again,
which are preferable since all we're doing is forwarding the QWindow
state, and results in visibility signals being emitted properly during
destruction of QQuickWindowImpl.
Task-number: QTBUG-98734
Change-Id: I262d8cfccfce005232c62d69e381df09835a33fc
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'src/qml/jsruntime/qv4function.cpp')
0 files changed, 0 insertions, 0 deletions
