From 81d02c4a9e32ba458f75b8052499da0ae5f83250 Mon Sep 17 00:00:00 2001 From: Joshua Goins Date: Mon, 5 May 2025 16:24:40 -0400 Subject: [PATCH] Fix some minor undefined references --- launcher/ui/Main.qml | 2 +- launcher/ui/Setup/SetupPage.qml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/launcher/ui/Main.qml b/launcher/ui/Main.qml index ba08f48..edf721e 100644 --- a/launcher/ui/Main.qml +++ b/launcher/ui/Main.qml @@ -17,7 +17,7 @@ Kirigami.ApplicationWindow { minimumWidth: 800 minimumHeight: 500 - title: pageStack.currentItem !== undefined ? pageStack.currentItem.title : "" + title: pageStack.currentItem?.title ?? "" property bool checkedAutoLogin: false diff --git a/launcher/ui/Setup/SetupPage.qml b/launcher/ui/Setup/SetupPage.qml index 821c65a..c61d8b0 100644 --- a/launcher/ui/Setup/SetupPage.qml +++ b/launcher/ui/Setup/SetupPage.qml @@ -21,7 +21,7 @@ FormCard.FormCardPage { globalToolBarStyle: Kirigami.ApplicationHeaderStyle.None header: Kirigami.Separator { - width: root.width + width: page.width } data: FolderDialog { @@ -142,7 +142,7 @@ FormCard.FormCardPage { } FormCard.FormCard { - visible: root.isInitialSetup + visible: page.isInitialSetup Layout.topMargin: Kirigami.Units.largeSpacing