From 583ec6006344dd0c463dbcd14adc3eefbe9d4e0e Mon Sep 17 00:00:00 2001 From: Daniel Teichmann Date: Fri, 2 Jul 2021 20:22:55 +0200 Subject: main.qml: cosmetic changes --- src/main.qml | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'src') 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) } } } -- cgit v1.2.3