[PATCH] Revert "AccountPage: Use FormLinkDelegate for "Open Server in Browser" button"
authorAurélien COUDERC <coucouf@coucouf.fr>
Thu, 24 Jul 2025 16:48:58 +0000 (18:48 +0200)
committerAurélien COUDERC <coucouf@debian.org>
Thu, 24 Jul 2025 16:34:20 +0000 (18:34 +0200)
This reverts commit 357ef28c2b91b724874797514b5bdffd86b727c5.

Gbp-Pq: Name upstream_revert_357ef28c_accountpage-use-formlinkdelegate-for-open-ser.patch

src/content/ui/Settings/AccountPage.qml

index 04e1b050909b8a4b4d4ad70e36ef69ce827c4f74..c8612bb548dc45a2af5fb3ae2cd95b890701be18 100644 (file)
@@ -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)
                     }
                 }
             }