Remove unnecessary emit
This commit is contained in:
parent
df834ffc48
commit
08aa383a62
@ -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();
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user