diff options
Diffstat (limited to 'src/ui/KeyServerImportDialog.h')
-rw-r--r-- | src/ui/KeyServerImportDialog.h | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/src/ui/KeyServerImportDialog.h b/src/ui/KeyServerImportDialog.h index 0fb7dbf1..d7f3364d 100644 --- a/src/ui/KeyServerImportDialog.h +++ b/src/ui/KeyServerImportDialog.h @@ -36,7 +36,7 @@ class KeyServerImportDialog : public QDialog { Q_OBJECT public: - KeyServerImportDialog(KeyList* keyList, bool automatic, QWidget* parent); + KeyServerImportDialog(bool automatic, QWidget* parent); KeyServerImportDialog(QWidget* parent); @@ -44,8 +44,6 @@ class KeyServerImportDialog : public QDialog { void slotImport(const QStringList& keyIds, const QUrl& keyserverUrl); - void slotImportKey(const KeyIdArgsListPtr& keys); - signals: void signalKeyImported(); @@ -59,6 +57,8 @@ class KeyServerImportDialog : public QDialog { void slotSearch(); + void slotSaveWindowState(); + private: void createKeysTable(); @@ -72,12 +72,8 @@ class KeyServerImportDialog : public QDialog { QComboBox* createComboBox(); - bool mAutomatic; - - QString appPath; - QSettings settings; + bool mAutomatic = false; - KeyList* mKeyList{}; QLineEdit* searchLineEdit{}; QComboBox* keyServerComboBox{}; QProgressBar* waitingBar; |