qt5base-lts/src/plugins
Doris Verria f3bc1f8500 Cocoa: Make sure we can display multiple sheets for the same NSWindow
On macOS, to display a modal with Qt::WindowModality set, or of type
Qt::Sheet, we call beginSheet:completinHandler:. However, this method
won't display the specified sheet unless the current active one is
dismissed, which is a different behavior than what we expect for
this case. Use beginCriticalSheet:completionHandler: whenever we
already have an active sheet attached to the NSWindow, which allows
us to display multiple sheets for the same window.

Fixes: QTBUG-91059
Pick-to: 5.15 6.1 6.2
Change-Id: I86bdbcbd63758edbbc48a8aade0178917dcb0e5b
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
2021-09-07 20:18:26 +02:00
..
doc/snippets/code Doc: Move literal code block to a separate file 2018-10-15 10:55:18 +00:00
generic CMake: Rename qt6_add_plugin TYPE option to PLUGIN_TYPE 2021-08-06 21:08:21 +02:00
imageformats CMake: Rename qt6_add_plugin TYPE option to PLUGIN_TYPE 2021-08-06 21:08:21 +02:00
networkinformation TLS plugins: Prefix with 'q' 2021-08-30 12:35:41 +00:00
platforminputcontexts CMake: Rename qt6_add_plugin TYPE option to PLUGIN_TYPE 2021-08-06 21:08:21 +02:00
platforms Cocoa: Make sure we can display multiple sheets for the same NSWindow 2021-09-07 20:18:26 +02:00
platformthemes CMake: Rename qt6_add_plugin TYPE option to PLUGIN_TYPE 2021-08-06 21:08:21 +02:00
printsupport CMake: Rename qt6_add_plugin TYPE option to PLUGIN_TYPE 2021-08-06 21:08:21 +02:00
sqldrivers MySQL: pedantism: create and destroy the MYSQL_TIME type 2021-08-18 15:39:05 -07:00
styles Port to QImage and QPixmap deviceIndependentSize() 2021-09-01 15:24:05 +02:00
tls QSslCertificate(OpenSSL plugin): fix memory leaks in extension 'parser' 2021-09-04 08:25:18 +02:00
CMakeLists.txt QNetworkInformation: Rename the plugins and type 2021-06-11 19:23:03 +02:00