Skip to content

Commit

Permalink
Hide YubiKey labels on unlock screen when compiled without XC_YUBIKEY (
Browse files Browse the repository at this point in the history
  • Loading branch information
schlimmchen authored and phoerious committed Oct 25, 2019
1 parent 7c6c027 commit 8c8c181
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/gui/DatabaseOpenWidget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,8 @@ DatabaseOpenWidget::DatabaseOpenWidget(QWidget* parent)

connect(m_ui->buttonRedetectYubikey, SIGNAL(clicked()), SLOT(pollYubikey()));
#else
m_ui->hardwareKeyLabel->setVisible(false);
m_ui->hardwareKeyLabelHelp->setVisible(false);
m_ui->buttonRedetectYubikey->setVisible(false);
m_ui->comboChallengeResponse->setVisible(false);
m_ui->yubikeyProgress->setVisible(false);
Expand Down

0 comments on commit 8c8c181

Please sign in to comment.