diff options
author | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2018-10-22 21:22:05 +0200 |
---|---|---|
committer | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2018-10-29 05:10:30 +0000 |
commit | e02d758c9509de31aafc82d53296f1acdab55151 (patch) | |
tree | 788688473d3f30a84e979995ab082d36a163c312 /tests/auto/corelib/io/qiodevice/tst_qiodevice.cpp | |
parent | acf5c37046944d6483cfc68b3d877b015292d415 (diff) |
macOS: Treat explicitly set Qt::SubWindows as not needing a NSWindow
We used to have logic that explicitly marked a QWindow as "embedded",
but we now resolve this dynamically based on whether or not we have
a parent window owned by Qt or not.
As part of this refactoring the fix for QTBUG-63443 in ac35f9c44c
got lost. We restore the behavior by treating Qt::SubWindow as a
reason not to create a NSWindow for a view. This flag is set by
QMenuPrivate::moveWidgetToPlatformItem already.
Fixes: QTBUG-63443
Change-Id: I12bff546eefcb8f6c9ca43b1b879773d129a28f9
Reviewed-by: Morten Johan Sørvig <morten.sorvig@qt.io>
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Diffstat (limited to 'tests/auto/corelib/io/qiodevice/tst_qiodevice.cpp')
0 files changed, 0 insertions, 0 deletions