aboutsummaryrefslogtreecommitdiffstats
path: root/src/ui/GpgFrontendUIInit.cpp
diff options
context:
space:
mode:
authorsaturneric <[email protected]>2024-01-19 13:54:26 +0000
committersaturneric <[email protected]>2024-01-19 13:54:26 +0000
commit5baef3c4a3b947d3275e9ce44cfb7a68984f6cca (patch)
tree78ea7c8caeb4336d99596ae665061bb7f25611f1 /src/ui/GpgFrontendUIInit.cpp
parentfix: slove discovered faults and bugs (diff)
downloadGpgFrontend-5baef3c4a3b947d3275e9ce44cfb7a68984f6cca.tar.gz
GpgFrontend-5baef3c4a3b947d3275e9ce44cfb7a68984f6cca.zip
fix: solve discovered bugs and improve ui operations
Diffstat (limited to 'src/ui/GpgFrontendUIInit.cpp')
-rw-r--r--src/ui/GpgFrontendUIInit.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ui/GpgFrontendUIInit.cpp b/src/ui/GpgFrontendUIInit.cpp
index d696588d..eca77b76 100644
--- a/src/ui/GpgFrontendUIInit.cpp
+++ b/src/ui/GpgFrontendUIInit.cpp
@@ -28,7 +28,7 @@
#include "GpgFrontendUIInit.h"
-#include <clocale>
+#include <QtNetwork>
#include "core/GpgConstants.h"
#include "core/function/CoreSignalStation.h"
@@ -195,7 +195,7 @@ auto RunGpgFrontendUI(QApplication* app) -> int {
main_window->show();
// start the main event loop
- return app->exec();
+ return QApplication::exec();
}
void GPGFRONTEND_UI_EXPORT DestroyGpgFrontendUI() {}