Unverified Commit d87324c0 authored by Andre Heinecke's avatar Andre Heinecke
Browse files

Update bug report URL for GnuPG.com signed version

This updates the bug reporting URL when a gnupg.com
signed version is detected.
parent 9cf581b9
......@@ -14,6 +14,8 @@
#include <Libkleo/GnuPG>
#include <QLocale>
#include <KLocalizedString>
#include <KLazyLocalizedString>
static const char kleopatra_version[] = KLEOPATRA_VERSION_STRING;
......@@ -93,7 +95,13 @@ AboutData::AboutData()
setVersion(Kleo::gpg4winVersion().toUtf8());
setShortDescription(Kleo::gpg4winDescription());
setOtherText(Kleo::gpg4winLongDescription());
setBugAddress("https://dev.gnupg.org/u/rgpg4win");
/* Bug reporting page is only available in german and english */
if (QLocale().uiLanguages().first().startsWith(QStringLiteral("de"))) {
setBugAddress("https://gnupg.com/vsd/report.de.html");
} else {
setBugAddress("https://gnupg.com/vsd/report.html");
}
}
const auto backendVersions = Kleo::backendVersionInfo();
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment