diff options
author | Saturneric <[email protected]> | 2021-12-14 11:28:53 +0000 |
---|---|---|
committer | Saturneric <[email protected]> | 2021-12-14 11:28:53 +0000 |
commit | 50efbe1fcc7d0ebf5dd814a36602f88ec01d2b3a (patch) | |
tree | f64a58f0572b6af09323273b073e39fda78dff33 /src/main.cpp | |
parent | Add Deb Build Support & Install Support For Linux. (diff) | |
download | GpgFrontend-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.cpp | 3 |
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, |