qt6-bb10/tests/auto/widgets
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
..
dialogs Cocoa: Use sheetParent to close sheet instead of transientParent 2024-11-04 17:48:56 +00:00
effects Change license for tests files 2024-02-04 09:56:42 +01:00
graphicsview Brush up the qgraphicsproxywidget test 2024-11-01 22:53:24 +00:00
itemviews QHeaderView: update the view correctly in resetDefaultSectionSize 2024-11-01 23:53:56 +01:00
kernel tests: use qWaitForWindowFocused() instead of qWaitForWindowActive() 2024-10-03 08:37:05 +00:00
styles QStyle: block future changes that result in QPainter warnings 2024-11-01 22:54:06 +00:00
util Use /tmp in tst_qcompleter on VxWorks 2024-06-12 15:53:35 +00:00
widgets QMdiArea: update indices list before potentially operating on it 2024-10-22 13:15:24 +00:00
CMakeLists.txt tests: Remove remains of qmake conversion from CMakeLists.txt files 2023-02-17 21:56:49 +01:00