aboutsummaryrefslogtreecommitdiffstats
path: root/src/ui/main_window/MainWindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/main_window/MainWindow.cpp')
-rw-r--r--src/ui/main_window/MainWindow.cpp15
1 files changed, 0 insertions, 15 deletions
diff --git a/src/ui/main_window/MainWindow.cpp b/src/ui/main_window/MainWindow.cpp
index ef7910ab..3090bdb7 100644
--- a/src/ui/main_window/MainWindow.cpp
+++ b/src/ui/main_window/MainWindow.cpp
@@ -123,21 +123,6 @@ void MainWindow::Init() noexcept {
edit_->CurTextPage()->setFocus();
- // before application exit
- connect(qApp, &QCoreApplication::aboutToQuit, this, []() {
- GF_UI_LOG_DEBUG("about to quit process started");
-
- if (GlobalSettingStation::GetInstance()
- .GetSettings()
- .value("basic/clear_gpg_password_cache", false)
- .toBool()) {
- GpgFrontend::GpgAdvancedOperator::ClearGpgPasswordCache(
- [](int, DataObjectPtr) {
-
- });
- }
- });
-
Module::ListenRTPublishEvent(
this, "com.bktus.gpgfrontend.module.integrated.version-checking",
"version.loading_done",