examples/quick/window example: fullscreen is possible on OSX
authorShawn Rutledge <shawn.rutledge@digia.com>
Fri, 15 Nov 2013 14:17:57 +0000 (15:17 +0100)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Fri, 15 Nov 2013 15:33:24 +0000 (16:33 +0100)
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>
examples/quick/window/window.qml

index 67e2ba4..00daec7 100644 (file)
@@ -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