summaryrefslogtreecommitdiffstats
path: root/src/controls/ApplicationWindow.qml
diff options
context:
space:
mode:
Diffstat (limited to 'src/controls/ApplicationWindow.qml')
-rw-r--r--src/controls/ApplicationWindow.qml24
1 files changed, 6 insertions, 18 deletions
diff --git a/src/controls/ApplicationWindow.qml b/src/controls/ApplicationWindow.qml
index 2f019d310..542cfe4e2 100644
--- a/src/controls/ApplicationWindow.qml
+++ b/src/controls/ApplicationWindow.qml
@@ -198,19 +198,11 @@ Window {
/*! \internal */
default property alias data: contentArea.data
- flags: {
- var flags = Qt.Window | Qt.WindowFullscreenButtonHint;
-
- // QTBUG-35049: Windows is removing features we didn't ask for, even though Qt::CustomizeWindowHint is not set
- // Otherwise Qt.Window | Qt.WindowFullscreenButtonHint would be enough
- flags |= Qt.WindowTitleHint | Qt.WindowSystemMenuHint | Qt.WindowMinMaxButtonsHint |
- Qt.WindowCloseButtonHint | Qt.WindowFullscreenButtonHint
-
- if (Settings.styleName === "iOS")
- flags |= Qt.MaximizeUsingFullscreenGeometryHint;
-
- return flags;
- }
+ flags: Qt.Window | Qt.WindowFullscreenButtonHint |
+ Qt.WindowTitleHint | Qt.WindowSystemMenuHint | Qt.WindowMinMaxButtonsHint |
+ Qt.WindowCloseButtonHint | Qt.WindowFullscreenButtonHint
+ // QTBUG-35049: Windows is removing features we didn't ask for, even though Qt::CustomizeWindowHint is not set
+ // Otherwise Qt.Window | Qt.WindowFullscreenButtonHint would be enough
Loader {
id: panelLoader
@@ -243,12 +235,8 @@ Window {
ContentItem {
id: contentArea
+ anchors.fill: parent
parent: __panel.contentArea
- anchors {
- fill: parent
- topMargin: systemPadding.top; bottomMargin: systemPadding.bottom
- leftMargin: systemPadding.left; rightMargin: systemPadding.right
- }
}
}
}