diff options
author | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2023-10-25 11:29:35 +0200 |
---|---|---|
committer | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2023-10-25 17:41:32 +0200 |
commit | 1af821825a4173532cf14024ea9bebc75bf3c62c (patch) | |
tree | f4ee961c0a4b8ae9a2d13a25d41a7c1686204233 /tests/auto/corelib/thread/qatomicint/tst_qatomicint.cpp | |
parent | 7fb0c2bbf9af7956e6b8a0b1906792437aa40517 (diff) |
macOS: Fix tst_MacGui::nonModalOrder()
The test is testing whether the order of creating a child window
of a modal dialog and showing the parent dialog matters. But to
allow child windows of a modal dialog to become active that child
also needs to be a dialog. That's a limitation on macOS, where
only NSPanel subclasses can override worksWhenModal.
Fix the test, and rewrite it using more modern idioms, avoiding
the need for long waits in the test.
Pick-to: 6.6 6.5
Change-Id: Ifb640d0288a3c7ed37f2c61294e34cd96fba49ca
Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
Diffstat (limited to 'tests/auto/corelib/thread/qatomicint/tst_qatomicint.cpp')
0 files changed, 0 insertions, 0 deletions