diff options
author | Liang Qi <liang.qi@qt.io> | 2021-11-25 19:58:42 +0100 |
---|---|---|
committer | Liang Qi <liang.qi@qt.io> | 2021-12-08 13:45:36 +0100 |
commit | 493a85a9e468874471057910a61e7c54a45eee83 (patch) | |
tree | 9e5c4a10bbc8c7da1bf2e12a172ef4eb6ec5a534 /src/corelib/global/qlogging.h | |
parent | 9c05fdac81d5fe0d3007ba55cfddf4eb99183153 (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/qlogging.h')
0 files changed, 0 insertions, 0 deletions