summary refs log tree commit diff
path: root/src/dialogs/ReCaptcha.cpp
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2020-02-23 11:42:29 +0100
committerNicolas Werner <nicolas.werner@hotmail.de>2020-02-23 13:44:05 +0100
commit3ef0d9db3cb1fe84c3c905fe7fbd80c3bbb51fd4 (patch)
tree99988bb1803817b1e60899a3bf78072bf4b067a0 /src/dialogs/ReCaptcha.cpp
parentMerge pull request #128 from adasauce/no-setstylesheet (diff)
downloadnheko-3ef0d9db3cb1fe84c3c905fe7fbd80c3bbb51fd4.tar.xz
Fix Registration
fixes #97
fixes #51
Diffstat (limited to 'src/dialogs/ReCaptcha.cpp')
-rw-r--r--src/dialogs/ReCaptcha.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/dialogs/ReCaptcha.cpp b/src/dialogs/ReCaptcha.cpp

index 7849aa4f..21dc8c77 100644 --- a/src/dialogs/ReCaptcha.cpp +++ b/src/dialogs/ReCaptcha.cpp
@@ -60,5 +60,8 @@ ReCaptcha::ReCaptcha(const QString &session, QWidget *parent) emit confirmation(); emit close(); }); - connect(cancelBtn_, &QPushButton::clicked, this, &dialogs::ReCaptcha::close); + connect(cancelBtn_, &QPushButton::clicked, this, [this]() { + emit cancel(); + emit close(); + }); }