aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDaniel Teichmann <daniel.teichmann@das-netzwerkteam.de>2021-07-02 20:22:55 +0200
committerDaniel Teichmann <daniel.teichmann@das-netzwerkteam.de>2021-07-02 20:22:55 +0200
commit583ec6006344dd0c463dbcd14adc3eefbe9d4e0e (patch)
treebfd4e284ddaa19685bcefa836ad2aafff121ab48 /src
parent2dc27cddbe35ede34431a6fdf7bf931a7c286bc6 (diff)
downloadRWA.Support.DesktopApp-583ec6006344dd0c463dbcd14adc3eefbe9d4e0e.tar.gz
RWA.Support.DesktopApp-583ec6006344dd0c463dbcd14adc3eefbe9d4e0e.tar.bz2
RWA.Support.DesktopApp-583ec6006344dd0c463dbcd14adc3eefbe9d4e0e.zip
main.qml: cosmetic changes
Diffstat (limited to 'src')
-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)
}
}
}