summaryrefslogtreecommitdiffstats
path: root/examples/widgets
diff options
context:
space:
mode:
authorLiang Qi <liang.qi@qt.io>2022-04-07 11:27:20 +0200
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2022-06-03 06:48:16 +0000
commit093b2287a654ee9585ea8f954935372142cec783 (patch)
tree3ae9fe3af24589a367c80a80732bb360296ded9e /examples/widgets
parent6f50f35a2ac5bd97b4c10e67a8a46f6376d2ed1c (diff)
examples: add WindowStaysOnBottomHint into preview text
Change-Id: I1e4e390990fcb6e30b2ff7bb59168e4ffc01a936 Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io> (cherry picked from commit 43b779ab0462f85f9c2cce86ec2701f56306ac87) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'examples/widgets')
-rw-r--r--examples/widgets/widgets/windowflags/previewwindow.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/widgets/widgets/windowflags/previewwindow.cpp b/examples/widgets/widgets/windowflags/previewwindow.cpp
index d7ebed7b3c..c05e486c1d 100644
--- a/examples/widgets/widgets/windowflags/previewwindow.cpp
+++ b/examples/widgets/widgets/windowflags/previewwindow.cpp
@@ -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";