aboutsummaryrefslogtreecommitdiffstats
path: root/src/ui/GpgFrontendUIInit.cpp
diff options
context:
space:
mode:
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() {}