From: Aurélien COUDERC Date: Thu, 24 Jul 2025 16:48:58 +0000 (+0200) Subject: [PATCH] Revert "AccountPage: Use FormLinkDelegate for "Open Server in Browser" button" X-Git-Tag: archive/raspbian/25.04.3-1+rpi1^2~9 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=2eb69016255337b5e27f07d6d1c93088b7fe45fa;p=tokodon.git [PATCH] Revert "AccountPage: Use FormLinkDelegate for "Open Server in Browser" button" This reverts commit 357ef28c2b91b724874797514b5bdffd86b727c5. Gbp-Pq: Name upstream_revert_357ef28c_accountpage-use-formlinkdelegate-for-open-ser.patch --- diff --git a/src/content/ui/Settings/AccountPage.qml b/src/content/ui/Settings/AccountPage.qml index 04e1b05..c8612bb 100644 --- a/src/content/ui/Settings/AccountPage.qml +++ b/src/content/ui/Settings/AccountPage.qml @@ -213,13 +213,12 @@ Kirigami.Page { FormCard.FormDelegateSeparator { } - FormCard.FormLinkDelegate { + FormCard.FormButtonDelegate { Layout.fillWidth: true id: websiteDelegate - icon.name: "globe-symbolic" text: i18nc("@abel Account preferences", "Open Server in Browser") description: i18n("Some settings can only be configured on your server's website.") - url: AccountManager.selectedAccount.instanceUri + onClicked: Qt.openUrlExternally(AccountManager.selectedAccount.instanceUri) } } }