aboutsummaryrefslogtreecommitdiffstats
path: root/src/ui/help/AboutDialog.cpp
diff options
context:
space:
mode:
authorSaturneric <[email protected]>2022-01-04 10:49:11 +0000
committerSaturneric <[email protected]>2022-01-04 10:49:11 +0000
commitf297a701bbcfa5f0586cc02af29a4e9af281910c (patch)
tree00d869b86e967a780f90e51d30a85be3d236a230 /src/ui/help/AboutDialog.cpp
parent<fix>(ui): improve ui. (diff)
downloadGpgFrontend-f297a701bbcfa5f0586cc02af29a4e9af281910c.tar.gz
GpgFrontend-f297a701bbcfa5f0586cc02af29a4e9af281910c.zip
<fix, refactor>(core, ui): fixed known bugs for v2.0.4-beta.1.
1. longer expire date for keygen. 2. version system improved and fixed. 3. include ui text not translated. 4. improve ui.
Diffstat (limited to '')
-rw-r--r--src/ui/help/AboutDialog.cpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/ui/help/AboutDialog.cpp b/src/ui/help/AboutDialog.cpp
index a3db6eda..78ff5557 100644
--- a/src/ui/help/AboutDialog.cpp
+++ b/src/ui/help/AboutDialog.cpp
@@ -225,6 +225,19 @@ void UpdateTab::slotShowVersionStatus(const SoftwareVersion& version) {
"href=\"https://github.com/saturneric/GpgFrontend/releases\">" +
_("Here") + "</a> " + _("to download the latest stable version.") +
"</center>");
+ upgradeLabel->show();
+ } else if (!version.CurrentVersionReleased()) {
+ upgradeLabel->setText(
+ "<center>" +
+ QString(_("This version has not been released yet, it may be a beta "
+ "version. If you are not a tester and care about version "
+ "stability, please do not use this version.")) +
+ "</center><center>" + _("Please click") +
+ " <a "
+ "href=\"https://github.com/saturneric/GpgFrontend/releases\">" +
+ _("Here") + "</a> " + _("to download the latest stable version.") +
+ "</center>");
+ upgradeLabel->show();
}
}