aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSaturneric <[email protected]>2022-09-03 12:29:07 +0000
committerSaturneric <[email protected]>2022-09-03 12:29:07 +0000
commitd990380db8b18bf420b063e90f9390645f92ad16 (patch)
treec5ac00d8ea126424b3a06342b83184dc82a7e73e
parentfix(core, ui): delete some unnecessary logs (diff)
downloadGpgFrontend-d990380db8b18bf420b063e90f9390645f92ad16.tar.gz
GpgFrontend-d990380db8b18bf420b063e90f9390645f92ad16.zip
feat(ui): attach not when 'ENV Loading Failed' occurred.
-rw-r--r--src/ui/UserInterfaceUtils.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/ui/UserInterfaceUtils.cpp b/src/ui/UserInterfaceUtils.cpp
index 25b37a9b..f2659e9d 100644
--- a/src/ui/UserInterfaceUtils.cpp
+++ b/src/ui/UserInterfaceUtils.cpp
@@ -169,9 +169,10 @@ CommonUtils::CommonUtils() : QWidget(nullptr) {
connect(this, &CommonUtils::SignalGnupgNotInstall, this, []() {
QMessageBox::critical(
nullptr, _("ENV Loading Failed"),
- _("Gnupg(gpg) is not installed correctly, please follow the "
- "ReadME "
- "instructions in Github to install Gnupg and then open "
+ _("Gnupg(gpg) is not installed correctly, please follow "
+ "<a href='https://www.gpgfrontend.pub/#/"
+ "faq?id=how-to-deal-with-39env-loading-failed39'>this notes</a>"
+ " in FAQ to install Gnupg and then open "
"GpgFrontend."));
QCoreApplication::quit();
});