aboutsummaryrefslogtreecommitdiffstats
path: root/src/ui/main_window/MainWindow.cpp
diff options
context:
space:
mode:
authorsaturneric <[email protected]>2024-01-16 17:41:52 +0000
committersaturneric <[email protected]>2024-01-16 17:41:52 +0000
commit5bcf07c5f6a3429bc787c31d26edd796c8cad9c6 (patch)
treef473d3c278b64396852403e5e334f87f02f5505a /src/ui/main_window/MainWindow.cpp
parentfix: slove some issues and update translations (diff)
downloadGpgFrontend-5bcf07c5f6a3429bc787c31d26edd796c8cad9c6.tar.gz
GpgFrontend-5bcf07c5f6a3429bc787c31d26edd796c8cad9c6.zip
fix: solve discovered issues
Diffstat (limited to 'src/ui/main_window/MainWindow.cpp')
-rw-r--r--src/ui/main_window/MainWindow.cpp9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/ui/main_window/MainWindow.cpp b/src/ui/main_window/MainWindow.cpp
index 31d53bd1..7f75574e 100644
--- a/src/ui/main_window/MainWindow.cpp
+++ b/src/ui/main_window/MainWindow.cpp
@@ -131,11 +131,10 @@ void MainWindow::Init() noexcept {
.GetSettings()
.value("basic/clear_gpg_password_cache", false)
.toBool()) {
- if (GpgFrontend::GpgAdvancedOperator::ClearGpgPasswordCache()) {
- GF_UI_LOG_DEBUG("clear gpg password cache done");
- } else {
- GF_UI_LOG_ERROR("clear gpg password cache error");
- }
+ GpgFrontend::GpgAdvancedOperator::ClearGpgPasswordCache(
+ [](int, DataObjectPtr) {
+
+ });
}
});