aboutsummaryrefslogtreecommitdiffstats
path: root/src/ui/GpgFrontendUIInit.cpp
diff options
context:
space:
mode:
authorSaturneric <[email protected]>2022-06-01 15:12:20 +0000
committerSaturneric <[email protected]>2022-06-01 15:12:20 +0000
commit769465f1496439c2e7de4ffa9460b1f4a0fe5c2d (patch)
tree65addaec57c7382e998b0b603d8a6ff736616eae /src/ui/GpgFrontendUIInit.cpp
parentdoc(manual): fix urls (diff)
downloadGpgFrontend-769465f1496439c2e7de4ffa9460b1f4a0fe5c2d.tar.gz
GpgFrontend-769465f1496439c2e7de4ffa9460b1f4a0fe5c2d.zip
fix(ui): fix crash when start app.
Diffstat (limited to 'src/ui/GpgFrontendUIInit.cpp')
-rw-r--r--src/ui/GpgFrontendUIInit.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ui/GpgFrontendUIInit.cpp b/src/ui/GpgFrontendUIInit.cpp
index 022f0748..fbc6877f 100644
--- a/src/ui/GpgFrontendUIInit.cpp
+++ b/src/ui/GpgFrontendUIInit.cpp
@@ -103,8 +103,9 @@ void InitGpgFrontendUI(QApplication* app) {
// show the loading window
waiting_dialog->setModal(true);
- waiting_dialog->show();
waiting_dialog->setFocus();
+ waiting_dialog->show();
+
// new local event looper
QEventLoop looper;