From 7250fd931314caffb7d2f28ac0eff943d85d3c94 Mon Sep 17 00:00:00 2001 From: Jonathan White Date: Tue, 31 Dec 2019 12:39:50 -0500 Subject: [PATCH] Fix TOTP Dialog not closing on lock --- src/gui/TotpDialog.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gui/TotpDialog.cpp b/src/gui/TotpDialog.cpp index 3f438e9ae..639eb0ebd 100644 --- a/src/gui/TotpDialog.cpp +++ b/src/gui/TotpDialog.cpp @@ -1,5 +1,5 @@ /* - * Copyright (C) 2017 Weslly Honorato <weslly@protonmail.com> + * Copyright (C) 2017 Weslly Honorato * Copyright (C) 2017 KeePassXC Team * * This program is free software: you can redistribute it and/or modify @@ -42,7 +42,7 @@ TotpDialog::TotpDialog(QWidget* parent, Entry* entry) resetCounter(); updateProgressBar(); - connect(parent, SIGNAL(lockedDatabase()), SLOT(close())); + connect(parent, SIGNAL(databaseLocked()), SLOT(close())); connect(&m_totpUpdateTimer, SIGNAL(timeout()), this, SLOT(updateProgressBar())); connect(&m_totpUpdateTimer, SIGNAL(timeout()), this, SLOT(updateSeconds())); m_totpUpdateTimer.start(m_step * 10);