mirror of
https://github.com/redstrate/Astra.git
synced 2025-04-20 03:37:47 +00:00
Use FormLinkDelegate for the lodestone and mog station links
This commit is contained in:
parent
f1a58b1eb7
commit
bc5da77d29
1 changed files with 6 additions and 4 deletions
|
@ -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)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue