aboutsummaryrefslogtreecommitdiffstats
path: root/examples/quick/window/window.qml
diff options
context:
space:
mode:
authorShawn Rutledge <shawn.rutledge@digia.com>2013-11-15 15:17:57 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-11-15 16:33:24 +0100
commit69cf1147230db72554f3778c560d6f33109e0c00 (patch)
tree3083d69591af035f7400599cf52d851042aae5a8 /examples/quick/window/window.qml
parent0dc17ae4d8b01582d9a9d2fa89f0d72cd022f5cf (diff)
examples/quick/window example: fullscreen is possible on OSX
It's normally disallowed without the WindowFullscreenButtonHint. But if we're going to declare a value for flags, then we have to put back the Window type which would otherwise be there by default. Task-number: QTBUG-33607 Change-Id: Ibbd593b2648b98d37c7f70a0b9f96787b0a40f22 Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@digia.com>
Diffstat (limited to 'examples/quick/window/window.qml')
-rw-r--r--examples/quick/window/window.qml1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/quick/window/window.qml b/examples/quick/window/window.qml
index 67e2ba40ff..00daec7ff1 100644
--- a/examples/quick/window/window.qml
+++ b/examples/quick/window/window.qml
@@ -140,6 +140,7 @@ QtObject {
height: 240
color: "#215400"
title: "Test Window with color " + color
+ flags: Qt.Window | Qt.WindowFullscreenButtonHint
Rectangle {
anchors.fill: parent
anchors.margins: defaultSpacing