diff options
author | saturneric <[email protected]> | 2025-01-27 15:39:09 +0000 |
---|---|---|
committer | saturneric <[email protected]> | 2025-01-27 15:39:09 +0000 |
commit | af1870fd422fc615a7039b998f505f100e98474a (patch) | |
tree | 5453ac586ce694863ecf438136614d3675b83aca /src/ui/main_window/MainWindow.cpp | |
parent | feat: allow changing sort options by ui at file page (diff) | |
download | GpgFrontend-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.cpp | 7 |
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); } |