diff options
Diffstat (limited to 'src/ui/main_window/MainWindow.cpp')
-rw-r--r-- | src/ui/main_window/MainWindow.cpp | 9 |
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) { + + }); } }); |