aboutsummaryrefslogtreecommitdiff
path: root/src/main.qml
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.qml')
-rw-r--r--src/main.qml22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/main.qml b/src/main.qml
index a30ed35..1981f4f 100644
--- a/src/main.qml
+++ b/src/main.qml
@@ -96,6 +96,16 @@ ApplicationWindow {
icon: StandardIcon.Critical
}
+ ToastManager {
+ id: toast
+
+ anchors.leftMargin: inPortrait ? 0 : sidebar_drawer.width
+ anchors.left: parent.left
+ anchors.right: parent.right
+ anchors.bottom: parent.bottom
+ anchors.top: parent.top
+ }
+
Connections {
target: mainqmladaptor
onShowToastSignal: {
@@ -142,16 +152,6 @@ ApplicationWindow {
}
}
- ToastManager {
- id: toast
-
- anchors.leftMargin: inPortrait ? 0 : sidebar_drawer.width
- anchors.left: parent.left
- anchors.right: parent.right
- anchors.bottom: parent.bottom
- anchors.top: parent.top
- }
-
Connections {
target: mainqmladaptor
onMessageDialogTextChanged: {
@@ -252,7 +252,7 @@ ApplicationWindow {
header_text.text = qsTr("Server addition wizard")
if(inPortrait) sidebar_drawer.close()
- main_content_replace(scene_url, StackView.Transition)
+ main_content_push(scene_url, StackView.ReplaceTransition)
}
}
}