diff options
author | Saturneric <[email protected]> | 2021-12-02 19:49:32 +0000 |
---|---|---|
committer | Saturneric <[email protected]> | 2021-12-02 19:49:32 +0000 |
commit | 6027b6098ac4e8dfdc75fc08e3f5d3b3b2997ef3 (patch) | |
tree | a399d2c830dadf6750ddb44a69309b443255846c /src/main.cpp | |
parent | Modified & Improve (diff) | |
download | GpgFrontend-6027b6098ac4e8dfdc75fc08e3f5d3b3b2997ef3.tar.gz GpgFrontend-6027b6098ac4e8dfdc75fc08e3f5d3b3b2997ef3.zip |
Fix and Modified.
1. Fix known issues.
2. Modified Settings.
3. Modified parts of modules.
Diffstat (limited to 'src/main.cpp')
-rw-r--r-- | src/main.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp index 7014ae05..e3506064 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -91,7 +91,9 @@ int main(int argc, char* argv[]) { gpgme_set_locale(nullptr, LC_MESSAGES, setlocale(LC_MESSAGES, nullptr)); #endif - GpgFrontend::UI::MainWindow window; + auto main_window = std::make_unique<GpgFrontend::UI::MainWindow>(); + main_window->init(); + main_window->show(); return_from_event_loop_code = QApplication::exec(); } while (return_from_event_loop_code == RESTART_CODE); |