Commit c736296b authored by Rolf Eike Beer's avatar Rolf Eike Beer
Browse files

remove KeysManager::refreshKeys()

This only relays to KGpgItemModel::refreshKeys(), which is also available to
KgpgEdit, which was the only caller.
parent f8d02bcb
......@@ -720,9 +720,9 @@ void KgpgEditor::importSignatureKey(const QString &id, const QString &fileName)
ks->startImport(QStringList(id), QString(),QLatin1String( qgetenv("http_proxy") ));
}
void KgpgEditor::slotDownloadKeysFinished(QStringList ids)
void KgpgEditor::slotDownloadKeysFinished(const QStringList &ids)
{
m_parent->refreshKeys(ids);
m_model->refreshKeys(ids);
sender()->deleteLater();
}
......
......@@ -110,7 +110,7 @@ private slots:
void slotLibraryDone();
void slotDownloadKeysFinished(QStringList ids);
void slotDownloadKeysFinished(const QStringList &ids);
private:
QString m_textencoding;
......
......@@ -2188,11 +2188,6 @@ void KeysManager::importRemoteFinished(int result)
imodel->refreshKeys(keys);
}
void KeysManager::refreshKeys(const QStringList& ids)
{
imodel->refreshKeys(ids);
}
void KeysManager::delsignkey()
{
KGpgNode *nd = iview->selectedNode();
......
......@@ -120,7 +120,6 @@ public slots:
void clipDecrypt();
void clipSign();
void slotImportDone(int ret);
void refreshKeys(const QStringList &ids);
protected:
bool eventFilter(QObject *, QEvent *e);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment