aboutsummaryrefslogtreecommitdiffstats
path: root/src/ui/main_window/MainWindow.cpp
diff options
context:
space:
mode:
authorsaturneric <[email protected]>2025-01-27 15:39:09 +0000
committersaturneric <[email protected]>2025-01-27 15:39:09 +0000
commitaf1870fd422fc615a7039b998f505f100e98474a (patch)
tree5453ac586ce694863ecf438136614d3675b83aca /src/ui/main_window/MainWindow.cpp
parentfeat: allow changing sort options by ui at file page (diff)
downloadGpgFrontend-af1870fd422fc615a7039b998f505f100e98474a.tar.gz
GpgFrontend-af1870fd422fc615a7039b998f505f100e98474a.zip
fix: kill all gnupg daemons in a proper way
Diffstat (limited to 'src/ui/main_window/MainWindow.cpp')
-rw-r--r--src/ui/main_window/MainWindow.cpp7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/ui/main_window/MainWindow.cpp b/src/ui/main_window/MainWindow.cpp
index 4817cbcd..b32d9c94 100644
--- a/src/ui/main_window/MainWindow.cpp
+++ b/src/ui/main_window/MainWindow.cpp
@@ -30,11 +30,12 @@
#include "core/function/CacheManager.h"
#include "core/function/GlobalSettingStation.h"
+#include "core/function/gpg/GpgAdvancedOperator.h"
#include "core/model/SettingsObject.h"
#include "core/module/ModuleManager.h"
-#include "struct/settings_object/AppearanceSO.h"
#include "ui/UISignalStation.h"
#include "ui/main_window/GeneralMainWindow.h"
+#include "ui/struct/settings_object/AppearanceSO.h"
#include "ui/struct/settings_object/KeyServerSO.h"
#include "ui/widgets/KeyList.h"
#include "ui/widgets/TextEdit.h"
@@ -274,10 +275,6 @@ void MainWindow::closeEvent(QCloseEvent* event) {
}
if (event->isAccepted()) {
- // clear cache of unsaved page
- CacheManager::GetInstance().SaveDurableCache(
- "editor_unsaved_pages", QJsonDocument(QJsonArray()), true);
-
// call parent
GeneralMainWindow::closeEvent(event);
}