diff options
author | saturneric <[email protected]> | 2024-01-16 17:41:52 +0000 |
---|---|---|
committer | saturneric <[email protected]> | 2024-01-16 17:41:52 +0000 |
commit | 5bcf07c5f6a3429bc787c31d26edd796c8cad9c6 (patch) | |
tree | f473d3c278b64396852403e5e334f87f02f5505a /src/ui/main_window/MainWindow.cpp | |
parent | fix: slove some issues and update translations (diff) | |
download | GpgFrontend-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.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) { + + }); } }); |