diff options
Diffstat (limited to 'src/m_key_server_sync/SearchKeyDialog.cpp')
| -rw-r--r-- | src/m_key_server_sync/SearchKeyDialog.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/m_key_server_sync/SearchKeyDialog.cpp b/src/m_key_server_sync/SearchKeyDialog.cpp index 5d790d5..3017d2b 100644 --- a/src/m_key_server_sync/SearchKeyDialog.cpp +++ b/src/m_key_server_sync/SearchKeyDialog.cpp @@ -369,12 +369,11 @@ void SearchKeyDialog::slot_lookup_finished_pks( FLOG_DEBUG("importing key data of size %1, data: %2", key_data.size(), QString::fromUtf8(key_data)); - auto channel = GFGpgCurrentGpgContextChannel(); + auto channel = GFGpgCurrentChannel(GFModuleSdkContext()); if (channel < 0) { slot_set_error_message(tr("No GPG context is available.")); return; } - GFGpgImportKeys(channel, this, key_data.data(), - static_cast<int>(key_data.size())); + gf::sdk::ImportKeys(GFModuleSdkContext(), channel, this, key_data); } |
