aboutsummaryrefslogtreecommitdiffstats
path: root/src/imports/controls/ApplicationWindow.qml
diff options
context:
space:
mode:
Diffstat (limited to 'src/imports/controls/ApplicationWindow.qml')
-rw-r--r--src/imports/controls/ApplicationWindow.qml9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/imports/controls/ApplicationWindow.qml b/src/imports/controls/ApplicationWindow.qml
index d989185d..38533be6 100644
--- a/src/imports/controls/ApplicationWindow.qml
+++ b/src/imports/controls/ApplicationWindow.qml
@@ -42,13 +42,4 @@ AbstractApplicationWindow {
id: window
color: Theme.backgroundColor
-
- contentWidth: contentItem.children.length === 1 ? contentItem.children[0].implicitWidth : 0
- contentHeight: contentItem.children.length === 1 ? contentItem.children[0].implicitHeight : 0
-
- minimumWidth: Math.max(contentWidth,
- (header ? header.implicitWidth : 0),
- (footer ? footer.implicitWidth : 0))
- minimumHeight: contentHeight + (header ? header.implicitHeight : 0)
- + (footer ? footer.implicitHeight : 0)
}