Remove unnecessary emit

This commit is contained in:
Loren Burkholder 2022-09-30 00:24:43 -04:00
parent df834ffc48
commit 08aa383a62
1 changed files with 2 additions and 2 deletions

View File

@ -66,10 +66,10 @@ ReCaptcha::ReCaptcha(const QString &session, QWidget *parent)
connect(confirmBtn_, &QPushButton::clicked, this, [this]() { connect(confirmBtn_, &QPushButton::clicked, this, [this]() {
emit confirmation(); emit confirmation();
emit close(); close();
}); });
connect(cancelBtn_, &QPushButton::clicked, this, [this]() { connect(cancelBtn_, &QPushButton::clicked, this, [this]() {
emit cancel(); emit cancel();
emit close(); close();
}); });
} }