aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorselsta <selsta@sent.at>2019-04-25 23:41:17 +0200
committerselsta <selsta@sent.at>2019-04-29 13:38:20 +0200
commitb2a7cb3d40f3712fd0583a2221dea3edacdd4928 (patch)
treed8f4f8c0f74909f80b46f11ba14f3d97c7d135d7
parentff6ce6294b561a6f15769a8e7a8270d57d02f8de (diff)
downloadmonzero-gui-b2a7cb3d40f3712fd0583a2221dea3edacdd4928.tar.gz
monzero-gui-b2a7cb3d40f3712fd0583a2221dea3edacdd4928.tar.xz
monzero-gui-b2a7cb3d40f3712fd0583a2221dea3edacdd4928.zip
macOS: enable fullscreen support
-rw-r--r--components/InputDialog.qml1
-rw-r--r--components/StandardDialog.qml1
-rw-r--r--js/Windows.js2
3 files changed, 1 insertions, 3 deletions
diff --git a/components/InputDialog.qml b/components/InputDialog.qml
index 6401b0ce..01d1e2c5 100644
--- a/components/InputDialog.qml
+++ b/components/InputDialog.qml
@@ -50,7 +50,6 @@ Item {
leftPanel.enabled = false
middlePanel.enabled = false
titleBar.state = "essentials"
- show()
root.visible = true;
input.focus = true;
input.text = "";
diff --git a/components/StandardDialog.qml b/components/StandardDialog.qml
index b8694d9d..338d6767 100644
--- a/components/StandardDialog.qml
+++ b/components/StandardDialog.qml
@@ -86,7 +86,6 @@ Rectangle {
root.x = parent.width/2 - root.width/2
root.y = 100
}
- show()
root.z = 11
root.visible = true;
}
diff --git a/js/Windows.js b/js/Windows.js
index a86d04ce..b0d465b5 100644
--- a/js/Windows.js
+++ b/js/Windows.js
@@ -1,5 +1,5 @@
var flagsCustomDecorations = (Qt.FramelessWindowHint | Qt.CustomizeWindowHint | Qt.WindowSystemMenuHint | Qt.Window);
-var flags = (Qt.WindowSystemMenuHint | Qt.Window | Qt.WindowMinimizeButtonHint | Qt.WindowCloseButtonHint | Qt.WindowTitleHint | Qt.WindowMaximizeButtonHint);
+var flags = (Qt.WindowSystemMenuHint | Qt.Window | Qt.WindowMinimizeButtonHint | Qt.WindowCloseButtonHint | Qt.WindowTitleHint | Qt.WindowMaximizeButtonHint | Qt.WindowFullscreenButtonHint);
/**
* Toggles window decorations