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.12.2-1+rpi1^2^2^2~1 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=d17ce850b7a9d92dc7c96d14ba361f0b856478ef;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 e3a6ec4..6c21588 100644 --- a/src/content/ui/Settings/AccountPage.qml +++ b/src/content/ui/Settings/AccountPage.qml @@ -223,13 +223,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: root.account.instanceUri + onClicked: Qt.openUrlExternally(root.account.instanceUri) } } }