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