Skip to content

Commit

Permalink
examples: add WindowStaysOnBottomHint into preview text
Browse files Browse the repository at this point in the history
Pick-to: 6.3 6.2 5.15
Change-Id: I1e4e390990fcb6e30b2ff7bb59168e4ffc01a936
Reviewed-by: Tor Arne Vestbø <[email protected]>
  • Loading branch information
liangqi committed May 1, 2022
1 parent c847f00 commit 43b779a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions examples/widgets/widgets/windowflags/previewwindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,8 @@ void PreviewWindow::setWindowFlags(Qt::WindowFlags flags)
text += "\n| Qt::WindowShadeButtonHint";
if (flags & Qt::WindowStaysOnTopHint)
text += "\n| Qt::WindowStaysOnTopHint";
if (flags & Qt::WindowStaysOnBottomHint)
text += "\n| Qt::WindowStaysOnBottomHint";
if (flags & Qt::CustomizeWindowHint)
text += "\n| Qt::CustomizeWindowHint";

Expand Down

0 comments on commit 43b779a

Please sign in to comment.