Fix canceling quick unlock when it is unavailable (#9034)

This commit is contained in:
Jonathan White 2023-01-29 10:08:16 -05:00 committed by GitHub
parent 318157d242
commit 55571b5d1b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -538,9 +538,6 @@ bool DatabaseOpenWidget::isOnQuickUnlockScreen()
*/
void DatabaseOpenWidget::resetQuickUnlock()
{
if (!isQuickUnlockAvailable()) {
return;
}
#if defined(Q_CC_MSVC)
getWindowsHello()->reset(m_filename);
#elif defined(Q_OS_MACOS)