Only poll YubiKey for currently visible tab

This commit is contained in:
Janek Bevendorff 2017-02-21 02:19:11 +01:00
parent 8e91a89a37
commit 91761a2bea
No known key found for this signature in database
GPG key ID: CFEC2F6850BFFA53
5 changed files with 15 additions and 15 deletions

View file

@ -41,18 +41,21 @@ public:
void enterKey(const QString& pw, const QString& keyFile);
Database* database();
Q_SIGNALS:
public slots:
void pollYubikey();
signals:
void editFinished(bool accepted);
protected:
void showEvent(QShowEvent* event) override;
CompositeKey databaseKey();
protected Q_SLOTS:
protected slots:
virtual void openDatabase();
void reject();
private Q_SLOTS:
private slots:
void activatePassword();
void activateKeyFile();
void activateChallengeResponse();
@ -60,10 +63,8 @@ private Q_SLOTS:
void browseKeyFile();
void yubikeyDetected(int slot, bool blocking);
void noYubikeyFound();
void pollYubikey();
protected:
const QScopedPointer<Ui::DatabaseOpenWidget> m_ui;
Database* m_db;
QString m_filename;