summaryrefslogtreecommitdiffstats
path: root/tests/auto/sql/kernel/qsqldatabase/tst_databases.h
diff options
context:
space:
mode:
authorVolker Hilsheimer <volker.hilsheimer@qt.io>2024-11-01 14:45:28 +0100
committerVolker Hilsheimer <volker.hilsheimer@qt.io>2024-11-04 18:48:45 +0100
commit332f49f2d8c5675bab8bde6acfb377d567961d4a (patch)
tree29b5bf08448df0e28944617971178996623eea71 /tests/auto/sql/kernel/qsqldatabase/tst_databases.h
parent57eabffbc9543a1ff1b163a7108d8fbbc8b29878 (diff)
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 Pick-to: 6.8 Change-Id: I4c399b73e2552bab79358c5505f403efa8e4f80b Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Diffstat (limited to 'tests/auto/sql/kernel/qsqldatabase/tst_databases.h')
0 files changed, 0 insertions, 0 deletions