aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.cpp
diff options
context:
space:
mode:
authorSaturneric <[email protected]>2021-12-14 11:28:53 +0000
committerSaturneric <[email protected]>2021-12-14 11:28:53 +0000
commit50efbe1fcc7d0ebf5dd814a36602f88ec01d2b3a (patch)
treef64a58f0572b6af09323273b073e39fda78dff33 /src/main.cpp
parentAdd Deb Build Support & Install Support For Linux. (diff)
downloadGpgFrontend-50efbe1fcc7d0ebf5dd814a36602f88ec01d2b3a.tar.gz
GpgFrontend-50efbe1fcc7d0ebf5dd814a36602f88ec01d2b3a.zip
Modified Core to Optimization & Fixed Problem
1. GpgKey copy ability 2. GpgXXResult type to shared_ptr 3. KeyList Optimization 4. Fixed Loading Dialog Problem
Diffstat (limited to '')
-rw-r--r--src/main.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 5faf34a9..7e46229e 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -26,6 +26,7 @@
#include "GpgFrontendBuildInfo.h"
#include "gpg/GpgContext.h"
+#include "gpg/function/GpgKeyGetter.h"
#include "ui/MainWindow.h"
#include "ui/WaitingDialog.h"
#include "ui/settings/GlobalSettingStation.h"
@@ -86,6 +87,8 @@ int main(int argc, char* argv[]) {
QCoreApplication::quit();
exit(0);
}
+ // Try fetching key
+ GpgFrontend::GpgKeyGetter::GetInstance().FetchKey();
});
QApplication::connect(init_ctx_thread, &QThread::finished, init_ctx_thread,