Disable automatic hiding of an information message for YubiKey

This commit is contained in:
frostasm 2017-10-19 21:46:09 +03:00
parent 75cfe1c5dd
commit f38fe5a9dd
7 changed files with 25 additions and 13 deletions

View file

@ -1325,9 +1325,10 @@ void DatabaseWidget::closeUnlockDialog()
m_unlockDatabaseDialog->close();
}
void DatabaseWidget::showMessage(const QString& text, MessageWidget::MessageType type)
void DatabaseWidget::showMessage(const QString& text, MessageWidget::MessageType type, bool showClosebutton, int autoHideTimeout)
{
m_messageWidget->showMessage(text, type);
m_messageWidget->setCloseButtonVisible(showClosebutton);
m_messageWidget->showMessage(text, type, autoHideTimeout);
}
void DatabaseWidget::hideMessage()