qt6-bb10/tests/auto/widgets/dialogs
Volker Hilsheimer 945c8bf54d Cocoa: Use sheetParent to close sheet instead of transientParent
If the window that the sheet (as created for a modal dialog) lives in
has already been destroyed by the time the sheet is hidden, then we used
to trip an assertion. Instead, always use the sheetParent, which is
still alive.

Add a test case that asserts without the fix.

Fixes: QTBUG-128302
Change-Id: I4c399b73e2552bab79358c5505f403efa8e4f80b
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
(cherry picked from commit 332f49f2d8c5675bab8bde6acfb377d567961d4a)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2024-11-04 17:48:56 +00:00
..
qcolordialog QDialogs: prevent crash in static get*() functions when parent gets deleted 2024-09-16 16:13:47 +00:00
qdialog Cocoa: Use sheetParent to close sheet instead of transientParent 2024-11-04 17:48:56 +00:00
qerrormessage Change license for tests files 2024-02-04 09:56:42 +01:00
qfiledialog tests: Explicitly check for pathconf(_PC_CASE_SENSITIVE) == 1 2024-09-23 19:36:53 +00:00
qfiledialog2 QDialogs: prevent crash in static get*() functions when parent gets deleted 2024-09-16 16:13:47 +00:00
qfontdialog QDialogs: prevent crash in static get*() functions when parent gets deleted 2024-09-16 16:13:47 +00:00
qinputdialog Change license for tests files 2024-02-04 09:56:42 +01:00
qmessagebox Return button index for deprecated QMessageBox APIs 2024-06-06 10:37:23 +00:00
qprogressdialog Change license for tests files 2024-02-04 09:56:42 +01:00
qsidebar Change license for tests files 2024-02-04 09:56:42 +01:00
qwizard Change license for tests files 2024-02-04 09:56:42 +01:00
CMakeLists.txt tests: Remove remains of qmake conversion from CMakeLists.txt files 2023-02-17 21:56:49 +01:00