From e6951de4593f769f796158f923cd36d44503e341 Mon Sep 17 00:00:00 2001 From: Friedemann Kleint Date: Fri, 22 May 2015 09:08:49 +0200 Subject: 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 Reviewed-by: J-P Nurmi --- src/imports/controls/ApplicationWindow.qml | 1 - 1 file changed, 1 deletion(-) (limited to 'src/imports/controls') 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 -- cgit v1.2.3