From cd44f548f59857f55c78f9ad291a5a55905b6c14 Mon Sep 17 00:00:00 2001 From: Adriaan de Groot Date: Wed, 6 May 2020 14:29:35 +0200 Subject: [PATCH] [libcalamaresui] Add donateUrl to the branding settings SEE #1384 --- src/branding/default/branding.desc | 1 + src/libcalamaresui/Branding.cpp | 3 ++- src/libcalamaresui/Branding.h | 3 ++- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/branding/default/branding.desc b/src/branding/default/branding.desc index 720bcc25d..2e6a02bba 100644 --- a/src/branding/default/branding.desc +++ b/src/branding/default/branding.desc @@ -103,6 +103,7 @@ strings: supportUrl: https://github.com/calamares/calamares/issues knownIssuesUrl: https://calamares.io/about/ releaseNotesUrl: https://calamares.io/about/ + donateUrl: https://kde.org/community/donations/index.php # These images are loaded from the branding module directory. # diff --git a/src/libcalamaresui/Branding.cpp b/src/libcalamaresui/Branding.cpp index bd2d94c5c..ae8f3910f 100644 --- a/src/libcalamaresui/Branding.cpp +++ b/src/libcalamaresui/Branding.cpp @@ -67,7 +67,8 @@ const QStringList Branding::s_stringEntryStrings = "productUrl", "supportUrl", "knownIssuesUrl", - "releaseNotesUrl" + "releaseNotesUrl", + "donateUrl" }; diff --git a/src/libcalamaresui/Branding.h b/src/libcalamaresui/Branding.h index 0a275448f..0ba66a192 100644 --- a/src/libcalamaresui/Branding.h +++ b/src/libcalamaresui/Branding.h @@ -61,7 +61,8 @@ public: ProductUrl, SupportUrl, KnownIssuesUrl, - ReleaseNotesUrl + ReleaseNotesUrl, + DonateUrl }; Q_ENUM( StringEntry )