diff options
author | saturneric <[email protected]> | 2024-07-31 06:13:26 +0000 |
---|---|---|
committer | saturneric <[email protected]> | 2024-07-31 06:13:26 +0000 |
commit | 081147d65fcb0a20818bbfb43f6ec4f5ddf59581 (patch) | |
tree | f6ec05666acb98da46b4cb0dfc0871225f4ad388 /src/app.cpp | |
parent | fix: dealing with unknown compiler (diff) | |
download | GpgFrontend-081147d65fcb0a20818bbfb43f6ec4f5ddf59581.tar.gz GpgFrontend-081147d65fcb0a20818bbfb43f6ec4f5ddf59581.zip |
fix: addressing some of the significant deficiencies identified
Diffstat (limited to 'src/app.cpp')
-rw-r--r-- | src/app.cpp | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/src/app.cpp b/src/app.cpp index aac9e2cc..0ba65117 100644 --- a/src/app.cpp +++ b/src/app.cpp @@ -73,13 +73,17 @@ auto StartApplication(const GFCxtWPtr& p_ctx) -> int { // after that load ui totally GpgFrontend::UI::InitGpgFrontendUI(app); + // check and waiting for condition + GpgFrontend::UI::WaitingAllInitializationFinished(); + + // load module's translations + GpgFrontend::UI::InitModulesTranslations(); + // finally create main window return_from_event_loop_code = GpgFrontend::UI::RunGpgFrontendUI(app); - restart_count++; - } while (return_from_event_loop_code == GpgFrontend::kRestartCode && - restart_count < 99); + restart_count++ < 99); // first should shutdown the module system GpgFrontend::Module::ShutdownGpgFrontendModules(); |