diff options
author | Saturneric <[email protected]> | 2022-05-09 14:40:54 +0000 |
---|---|---|
committer | Saturneric <[email protected]> | 2022-05-09 14:40:54 +0000 |
commit | 670733f7a90d337d546afab22ddedeedec6d3d67 (patch) | |
tree | 2c64c0667d2cac45040257802c40963f89737700 /src/ui/GpgFrontendUIInit.cpp | |
parent | doc: add entry to developer document. (diff) | |
download | GpgFrontend-670733f7a90d337d546afab22ddedeedec6d3d67.tar.gz GpgFrontend-670733f7a90d337d546afab22ddedeedec6d3d67.zip |
fix: fix crash poblem when doing operations
1. refactor GpgFunctionObject to solve shared library problem.
2. fix multi-threading issues in refreshing.
3. improve loading speed for key list
4. improve ui operation
5. do other fixing and improving operations
Diffstat (limited to 'src/ui/GpgFrontendUIInit.cpp')
-rw-r--r-- | src/ui/GpgFrontendUIInit.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/ui/GpgFrontendUIInit.cpp b/src/ui/GpgFrontendUIInit.cpp index 82746551..49f16ec5 100644 --- a/src/ui/GpgFrontendUIInit.cpp +++ b/src/ui/GpgFrontendUIInit.cpp @@ -28,6 +28,8 @@ #include "GpgFrontendUIInit.h" +#include "SignalStation.h" +#include "UserInterfaceUtils.h" #include "core/function/GlobalSettingStation.h" // init easyloggingpp library @@ -35,6 +37,14 @@ INITIALIZE_EASYLOGGINGPP namespace GpgFrontend::UI { +extern void init_logging(); + +void InitGpgFrontendUI() { + init_logging(); + SignalStation::GetInstance(); + CommonUtils::GetInstance(); +} + void init_logging() { using namespace boost::posix_time; using namespace boost::gregorian; |