Commit b6530101 authored by Rolf Eike Beer's avatar Rolf Eike Beer Committed by Rolf Eike Beer
Browse files

some random cleanups

parent 6d4973f9
......@@ -200,7 +200,7 @@ void KeyServer::slotSearch()
m_filtermodel.setSourceModel(m_resultmodel);
m_filtermodel.setFilterRegExp(QRegExp());
m_dialogserver = new QDialog(this );
m_dialogserver = new QDialog(this);
m_dialogserver->setWindowTitle(i18n("Import Key From Keyserver"));
QVBoxLayout *mainLayout = new QVBoxLayout(m_dialogserver);
......
......@@ -440,12 +440,6 @@ KGpgItemModel::refreshKeys(KGpgKeyNode::List keys)
refreshKeyIds(keys);
}
void
KGpgItemModel::refreshKeys()
{
refreshKeyIds(QStringList());
}
void
KGpgItemModel::refreshKeys(const QStringList &ids)
{
......
......@@ -83,7 +83,7 @@ public Q_SLOTS:
QModelIndex nodeIndex(KGpgNode *node, const int column = 0);
void refreshKey(const QString &id);
void refreshKey(KGpgKeyNode *nd);
void refreshKeys();
inline void refreshKeys() { refreshKeys(QStringList()); }
void refreshKeys(const QStringList &ids);
void refreshKeys(KGpgKeyNode::List keys);
void refreshGroups();
......
......@@ -11,10 +11,10 @@
#define KGPGSELECTSECRETKEY_H
#include <QDialog>
#include <QItemSelection>
class QCheckBox;
class QComboBox;
class QPushButton;
class QTableView;
class KGpgItemModel;
......
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