diff options
author | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2021-06-22 11:43:18 +0200 |
---|---|---|
committer | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2021-06-23 13:43:45 +0200 |
commit | 96469ae338c3146f4efea3fabaaae5bc6ecd6a59 (patch) | |
tree | f814c4d65b506066dd6250dfe965c77a945b685e /src/widgets/widgets/qdatetimeedit.cpp | |
parent | d0676874d6cb00455e6dc94c519c31aa24e3d276 (diff) |
macOS: Unregister screen notification handlers on QGuiApplication shutdown
In the case of a plugin, the plugin might be unloaded, and destroy its
QGuiApplication. We don't want the screen notification handlers to outlive
the application, as that results in crashes.
Fixes: QTBUG-91919
Pick-to: 6.2 6.1 5.15
Done-with: Yang Yang
Change-Id: I3a4c0fcf97b785357516d1dac34489511400f154
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'src/widgets/widgets/qdatetimeedit.cpp')
0 files changed, 0 insertions, 0 deletions