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.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/GpgFrontendUIInit.cpp b/src/ui/GpgFrontendUIInit.cpp
index e9c99dbc..ed9584b9 100644
--- a/src/ui/GpgFrontendUIInit.cpp
+++ b/src/ui/GpgFrontendUIInit.cpp
@@ -217,7 +217,7 @@ void WaitingAllInitializationFinished() {
auto RunGpgFrontendUI(QApplication* app) -> int {
// create main window and show it
- auto main_window = SecureCreateUniqueObject<GpgFrontend::UI::MainWindow>();
+ auto* main_window = new GpgFrontend::UI::MainWindow();
// pre-check, if application need to restart
if (CommonUtils::GetInstance()->IsApplicationNeedRestart()) {