From 08aa383a62faf230d355780f567d96b924118cc0 Mon Sep 17 00:00:00 2001 From: Loren Burkholder Date: Fri, 30 Sep 2022 00:24:43 -0400 Subject: [PATCH] Remove unnecessary emit --- src/dialogs/ReCaptcha.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/dialogs/ReCaptcha.cpp b/src/dialogs/ReCaptcha.cpp index 220596b7..95a1f85f 100644 --- a/src/dialogs/ReCaptcha.cpp +++ b/src/dialogs/ReCaptcha.cpp @@ -66,10 +66,10 @@ ReCaptcha::ReCaptcha(const QString &session, QWidget *parent) connect(confirmBtn_, &QPushButton::clicked, this, [this]() { emit confirmation(); - emit close(); + close(); }); connect(cancelBtn_, &QPushButton::clicked, this, [this]() { emit cancel(); - emit close(); + close(); }); }