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

This commit is contained in:
Jonathan White 2023-01-29 10:08:16 -05:00
parent 0e1b32adcd
commit acb37db6f1
No known key found for this signature in database
GPG Key ID: 440FC65F2E0C6E01

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)