aboutsummaryrefslogtreecommitdiffstats
path: root/src/app.cpp
diff options
context:
space:
mode:
authorsaturneric <[email protected]>2023-12-04 12:31:36 +0000
committersaturneric <[email protected]>2023-12-04 12:31:36 +0000
commitde05b25e0b8078d5c9d91b31ad5fc2800ad4b6a5 (patch)
tree3aa6c351835018697d0711503dab4159226cf8af /src/app.cpp
parentfix: slove logger system isolation issues (diff)
downloadGpgFrontend-de05b25e0b8078d5c9d91b31ad5fc2800ad4b6a5.tar.gz
GpgFrontend-de05b25e0b8078d5c9d91b31ad5fc2800ad4b6a5.zip
fix: common utils should be created before core initialization
Diffstat (limited to '')
-rw-r--r--src/app.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/app.cpp b/src/app.cpp
index 8df46024..b0c771d9 100644
--- a/src/app.cpp
+++ b/src/app.cpp
@@ -103,10 +103,13 @@ auto StartApplication(InitArgs args) -> int {
module_init_args.log_level = args.log_level;
GpgFrontend::Module::LoadGpgFrontendModules(module_init_args);
+ // then preload ui
+ GpgFrontend::UI::PreInitGpgFrontendUI();
+
// then load core
GpgFrontend::InitGpgFrontendCore();
- // after that load ui library
+ // after that load ui totally
GpgFrontend::UI::InitGpgFrontendUI(app);
// finally create main window