summaryrefslogtreecommitdiffstats
path: root/src/corelib/global/qlibraryinfo.cpp
diff options
context:
space:
mode:
authorLiang Qi <liang.qi@qt.io>2021-11-25 19:58:42 +0100
committerLiang Qi <liang.qi@qt.io>2021-12-08 13:45:36 +0100
commit493a85a9e468874471057910a61e7c54a45eee83 (patch)
tree9e5c4a10bbc8c7da1bf2e12a172ef4eb6ec5a534 /src/corelib/global/qlibraryinfo.cpp
parent9c05fdac81d5fe0d3007ba55cfddf4eb99183153 (diff)
Widgets: setTransientParent() when a QMenu is a window
On some platforms, such as X11 and Wayland with some compositors, QMenu could be a popup window, which should be set a transient parent to get relative position, which is requested by Wayland. Added transientParentWindow() for QMenuPrivate like QDialogPrivate. Fixes: QTBUG-68636 Pick-to: 6.2 Change-Id: I6d8880cb008ecf61a4c005898b38e3953379a13d Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'src/corelib/global/qlibraryinfo.cpp')
0 files changed, 0 insertions, 0 deletions