aboutsummaryrefslogtreecommitdiffstats
path: root/src/ui/main_window/MainWindow.cpp
diff options
context:
space:
mode:
authorsaturneric <[email protected]>2024-01-23 12:27:30 +0000
committersaturneric <[email protected]>2024-01-23 12:27:30 +0000
commit079b613d373c9ea317d49941728da146dad32356 (patch)
treea37a567cf27368f445b0365008e96c7a9ae958f1 /src/ui/main_window/MainWindow.cpp
parentfix: solve issues at i18n support (diff)
downloadGpgFrontend-079b613d373c9ea317d49941728da146dad32356.tar.gz
GpgFrontend-079b613d373c9ea317d49941728da146dad32356.zip
feat: add a setting to enable gpgme debug log
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",