From bc5da77d29a7982527ad9c335e0a897c8266bfa3 Mon Sep 17 00:00:00 2001 From: Joshua Goins Date: Sat, 1 Feb 2025 10:01:23 -0500 Subject: [PATCH] Use FormLinkDelegate for the lodestone and mog station links --- launcher/ui/Pages/LoginPage.qml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/launcher/ui/Pages/LoginPage.qml b/launcher/ui/Pages/LoginPage.qml index d192259..37c3bbf 100644 --- a/launcher/ui/Pages/LoginPage.qml +++ b/launcher/ui/Pages/LoginPage.qml @@ -322,21 +322,23 @@ QQC2.Control { Layout.alignment: Qt.AlignBottom - FormCard.FormButtonDelegate { + FormCard.FormLinkDelegate { text: i18nc("@action:button", "The Lodestone") icon.name: "internet-services-symbolic" visible: !LauncherCore.currentProfile.account.isSapphire // TODO: how do we link to a "worldwide" lodestone, if that even exists? - onClicked: applicationWindow().openUrl('https://na.finalfantasyxiv.com/lodestone/') + url: 'https://na.finalfantasyxiv.com/lodestone/' + onClicked: applicationWindow().openUrl(url) } FormCard.FormDelegateSeparator {} - FormCard.FormButtonDelegate { + FormCard.FormLinkDelegate { text: i18nc("@action:button", "Mog Station") icon.name: "internet-services-symbolic" visible: !LauncherCore.currentProfile.account.isSapphire - onClicked: applicationWindow().openUrl('https://secure.square-enix.com/account/app/svc/mogstation/') + url: 'https://secure.square-enix.com/account/app/svc/mogstation/' + onClicked: applicationWindow().openUrl(url) } } }