diff options
| author | David Redondo <qt@david-redondo.de> | 2020-11-03 11:04:56 +0100 |
|---|---|---|
| committer | David Redondo <qt@david-redondo.de> | 2020-11-18 12:03:27 +0100 |
| commit | 36b1d37cef09769eea22f78d77440ac4c5d008d8 (patch) | |
| tree | 73470fc84053aee1aef57bed4ac185fe197a42a4 /src/gui/doc/snippets/textdocument-frames/textdocument-frames.pro | |
| parent | 4e7013033ffa52b04097c587d4108009824720bf (diff) | |
Ensure that QMenu is polished before setting the screen in popup()
Some styles alter the widget that will influence the underlying platform
window. An example is when a style would want to draw the menu with some
transparency and sets the Qt::WA_TranslucentBackground attribute. This
needs to happen before the platform window is created. However calling
QWidgetPrivate::setScreen will end up creating the window and the
surface format will be fixed at this point.
Pick-to: 5.15
Change-Id: I707cf1de5c1614382cffbea1aae8cdb01f7de44a
Reviewed-by: Nate Graham
Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@qt.io>
Diffstat (limited to 'src/gui/doc/snippets/textdocument-frames/textdocument-frames.pro')
0 files changed, 0 insertions, 0 deletions
