diff options
author | Samuel Gaist <samuel.gaist@edeltech.ch> | 2015-03-02 21:13:35 +0100 |
---|---|---|
committer | Samuel Gaist <samuel.gaist@idiap.ch> | 2019-12-02 18:18:22 +0100 |
commit | f81f21151d30a37f955aa4af2398a96507626b15 (patch) | |
tree | 353e081908710f3a40b39542a7fde3194fa7b046 /tests/auto/widgets/itemviews | |
parent | 7a55a984d8d0da6a6cf6fdc440d4cccf7fb42c3d (diff) |
Session management for macOS
This patch aims to implement the session management available on macOS.
Currently applicationShouldTerminate is just a go through that closes
everything and ends the application. The new implementation calls
first appCommitData and cancels the termination properly if required.
This means that if a user wishes to logout, Qt applications can now
cancel that like e.g. answering to Safari asking whether it is ok to
close because of a number of opened tab/window.
Fixes: QTBUG-33034
Change-Id: Id5d7416cb74c762c5424a77c9c7664f0749da7f6
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Diffstat (limited to 'tests/auto/widgets/itemviews')
0 files changed, 0 insertions, 0 deletions