mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-12-04 15:39:34 +01:00
Fix canceling quick unlock when it is unavailable (#9034)
This commit is contained in:
@@ -538,9 +538,6 @@ bool DatabaseOpenWidget::isOnQuickUnlockScreen()
|
|||||||
*/
|
*/
|
||||||
void DatabaseOpenWidget::resetQuickUnlock()
|
void DatabaseOpenWidget::resetQuickUnlock()
|
||||||
{
|
{
|
||||||
if (!isQuickUnlockAvailable()) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
#if defined(Q_CC_MSVC)
|
#if defined(Q_CC_MSVC)
|
||||||
getWindowsHello()->reset(m_filename);
|
getWindowsHello()->reset(m_filename);
|
||||||
#elif defined(Q_OS_MACOS)
|
#elif defined(Q_OS_MACOS)
|
||||||
|
|||||||
Reference in New Issue
Block a user