aboutsummaryrefslogtreecommitdiffstats
path: root/src/imports/controls
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@theqtcompany.com>2015-05-22 09:08:49 +0200
committerFriedemann Kleint <Friedemann.Kleint@theqtcompany.com>2015-05-22 10:23:03 +0000
commite6951de4593f769f796158f923cd36d44503e341 (patch)
tree1216caf7f18e73c39c867e4256d5d2f158414dd8 /src/imports/controls
parent9c5f32d6872389a2108c85a44fea3844511d7d44 (diff)
Remove window flags from AbstractApplicationWindow.
The default window flags (Qt::Window) should be mapped to the default decoration. The old value Qt.Window | Qt.WindowFullscreenButtonHint caused a small border on Windows. Platforms that support Qt.WindowFullscreenButtonHint should add it to the default decoration. Change-Id: I1fb30073e350d038bcc50433f9c30e384a19fff1 Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@theqtcompany.com> Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
Diffstat (limited to 'src/imports/controls')
-rw-r--r--src/imports/controls/ApplicationWindow.qml1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/imports/controls/ApplicationWindow.qml b/src/imports/controls/ApplicationWindow.qml
index bb937e50..d989185d 100644
--- a/src/imports/controls/ApplicationWindow.qml
+++ b/src/imports/controls/ApplicationWindow.qml
@@ -42,7 +42,6 @@ AbstractApplicationWindow {
id: window
color: Theme.backgroundColor
- flags: Qt.Window | Qt.WindowFullscreenButtonHint
contentWidth: contentItem.children.length === 1 ? contentItem.children[0].implicitWidth : 0
contentHeight: contentItem.children.length === 1 ? contentItem.children[0].implicitHeight : 0