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(); }); }