diff options
author | saturneric <[email protected]> | 2024-10-25 22:58:26 +0000 |
---|---|---|
committer | saturneric <[email protected]> | 2024-10-25 22:58:26 +0000 |
commit | aa75deacf080aaf8c6b1fb1bb2a6b419adce7ad8 (patch) | |
tree | a82e4491efeedaf0157c3b10811426513aec2fbe /src/ui/UserInterfaceUtils.cpp | |
parent | feat: set reason code and text at revoke-certification (diff) | |
download | GpgFrontend-aa75deacf080aaf8c6b1fb1bb2a6b419adce7ad8.tar.gz GpgFrontend-aa75deacf080aaf8c6b1fb1bb2a6b419adce7ad8.zip |
feat: add more context of key database support
Diffstat (limited to 'src/ui/UserInterfaceUtils.cpp')
-rw-r--r-- | src/ui/UserInterfaceUtils.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/ui/UserInterfaceUtils.cpp b/src/ui/UserInterfaceUtils.cpp index 0f462cf7..0dfe9867 100644 --- a/src/ui/UserInterfaceUtils.cpp +++ b/src/ui/UserInterfaceUtils.cpp @@ -472,6 +472,7 @@ void CommonUtils::slot_update_key_status() { [](DataObjectPtr) -> int { // flush key cache for all GpgKeyGetter Intances. for (const auto &channel_id : GpgKeyGetter::GetAllChannelId()) { + LOG_D() << "refreshing key database at channel: " << channel_id; GpgKeyGetter::GetInstance(channel_id).FlushKeyCache(); } return 0; @@ -481,8 +482,9 @@ void CommonUtils::slot_update_key_status() { &CommonUtils::SignalKeyDatabaseRefreshDone); // post the task to the default task runner - Thread::TaskRunnerGetter::GetInstance().GetTaskRunner()->PostTask( - refresh_task); + Thread::TaskRunnerGetter::GetInstance() + .GetTaskRunner(Thread::TaskRunnerGetter::kTaskRunnerType_GPG) + ->PostTask(refresh_task); } void CommonUtils::slot_update_key_from_server_finished( |