summaryrefslogtreecommitdiff
path: root/src/controls
diff options
context:
space:
mode:
authorShawn Rutledge <shawn.rutledge@digia.com>2013-11-15 15:29:18 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-11-15 16:34:28 +0100
commit29d1b0d209ebb267c5a6ac8402c33892c09b8de6 (patch)
tree359b615199eacdd24461e1b9960fffb9e0acc48f /src/controls
parent444601efee65f20e0cd65764f05dd00486c4f715 (diff)
downloadqtquickcontrols-29d1b0d209ebb267c5a6ac8402c33892c09b8de6.tar.gz
ApplicationWindow has the WindowFullscreenButtonHint flag by default
It should be possible to go fullscreen by default in most applications, unless there is a reason not to, in which case the developer can turn this flag back off. It's also not so intuitive to turn it on, because one needs to remember to specify Qt.Window as well, to avoid losing the toolbar. So making it the default avoids some mistakes/surprises. Furthermore QWidget has this flag by default. Task-number: QTBUG-33607 Change-Id: I350ffb38459d2a305353efe0db29335fe354a441 Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@digia.com> Reviewed-by: Liang Qi <liang.qi@digia.com>
Diffstat (limited to 'src/controls')
-rw-r--r--src/controls/ApplicationWindow.qml1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/controls/ApplicationWindow.qml b/src/controls/ApplicationWindow.qml
index 564e8d2a..d5049f8d 100644
--- a/src/controls/ApplicationWindow.qml
+++ b/src/controls/ApplicationWindow.qml
@@ -123,6 +123,7 @@ Window {
default property alias data: contentArea.data
color: syspal.window
+ flags: Qt.Window | Qt.WindowFullscreenButtonHint
SystemPalette {id: syspal}