diff options
author | saturneric <[email protected]> | 2024-11-22 22:06:30 +0000 |
---|---|---|
committer | saturneric <[email protected]> | 2024-11-22 22:06:30 +0000 |
commit | e16e15db09d89a997db73e313b966f95e6c59f56 (patch) | |
tree | 4f6be7375b983eda33b5faa37b9c7a3af0a57ed6 /src/ui/GpgFrontendUIInit.cpp | |
parent | fix: correct the path to the executable of app image mode (diff) | |
download | GpgFrontend-e16e15db09d89a997db73e313b966f95e6c59f56.tar.gz GpgFrontend-e16e15db09d89a997db73e313b966f95e6c59f56.zip |
feat: rewrite core init processes and add env option
Diffstat (limited to 'src/ui/GpgFrontendUIInit.cpp')
-rw-r--r-- | src/ui/GpgFrontendUIInit.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/ui/GpgFrontendUIInit.cpp b/src/ui/GpgFrontendUIInit.cpp index 9cca46c2..e93a8e3c 100644 --- a/src/ui/GpgFrontendUIInit.cpp +++ b/src/ui/GpgFrontendUIInit.cpp @@ -72,6 +72,14 @@ void WaitEnvCheckingProcess() { waiting_dialog->deleteLater(); }); + QApplication::connect(CoreSignalStation::GetInstance(), + &CoreSignalStation::SignalBadGnupgEnv, waiting_dialog, + [=]() { + LOG_D() << "ui caught signal: core loading failed"; + waiting_dialog->finished(0); + waiting_dialog->deleteLater(); + }); + // new local event looper QEventLoop looper; QApplication::connect(CoreSignalStation::GetInstance(), |