aboutsummaryrefslogtreecommitdiffstats
path: root/src/ui/UserInterfaceUtils.cpp
diff options
context:
space:
mode:
authorsaturneric <[email protected]>2023-12-03 20:25:21 +0000
committersaturneric <[email protected]>2023-12-03 20:25:21 +0000
commit054e6e28cca2517dda2319ef683314b3318c39a6 (patch)
treeae9ff4a9fe280f3640ca249bad45ab250cfd1610 /src/ui/UserInterfaceUtils.cpp
parentfix: slove issues in key/subkey generation (diff)
downloadGpgFrontend-054e6e28cca2517dda2319ef683314b3318c39a6.tar.gz
GpgFrontend-054e6e28cca2517dda2319ef683314b3318c39a6.zip
feat: standarized and speed up app env loading process
Diffstat (limited to '')
-rw-r--r--src/ui/UserInterfaceUtils.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ui/UserInterfaceUtils.cpp b/src/ui/UserInterfaceUtils.cpp
index a73f56d2..6f4ca7d0 100644
--- a/src/ui/UserInterfaceUtils.cpp
+++ b/src/ui/UserInterfaceUtils.cpp
@@ -160,8 +160,8 @@ CommonUtils *CommonUtils::GetInstance() {
CommonUtils::CommonUtils() : QWidget(nullptr) {
connect(CoreSignalStation::GetInstance(),
- &CoreSignalStation::SignalGnupgNotInstall, this,
- &CommonUtils::SignalGnupgNotInstall);
+ &CoreSignalStation::SignalBadGnupgEnv, this,
+ &CommonUtils::SignalBadGnupgEnv);
connect(this, &CommonUtils::SignalKeyStatusUpdated,
UISignalStation::GetInstance(),
&UISignalStation::SignalKeyDatabaseRefresh);
@@ -184,7 +184,7 @@ CommonUtils::CommonUtils() : QWidget(nullptr) {
&UISignalStation::SignalRestartApplication, this,
&CommonUtils::SlotRestartApplication);
- connect(this, &CommonUtils::SignalGnupgNotInstall, this, [=]() {
+ connect(this, &CommonUtils::SignalBadGnupgEnv, this, [=]() {
QMessageBox msgBox;
msgBox.setText(_("GnuPG Context Loading Failed"));
msgBox.setInformativeText(