summary refs log tree commit diff
path: root/src/dialogs
diff options
context:
space:
mode:
authorDeepBlueV7.X <nicolas.werner@hotmail.de>2022-10-03 21:37:01 +0000
committerGitHub <noreply@github.com>2022-10-03 21:37:01 +0000
commit5e9eb845ab2f7f84c440a60666999655a084038f (patch)
treef6d576234859beedb55194a8496a13f3d526942e /src/dialogs
parentFixed a crash in member list loading (#1199) (diff)
parentRemove unnecessary emit (diff)
downloadnheko-5e9eb845ab2f7f84c440a60666999655a084038f.tar.xz
Merge pull request #1202 from Nheko-Reborn/grammar
Grammar
Diffstat (limited to 'src/dialogs')
-rw-r--r--src/dialogs/FallbackAuth.cpp2
-rw-r--r--src/dialogs/ReCaptcha.cpp4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/dialogs/FallbackAuth.cpp b/src/dialogs/FallbackAuth.cpp

index e85d38c1..5969be0d 100644 --- a/src/dialogs/FallbackAuth.cpp +++ b/src/dialogs/FallbackAuth.cpp
@@ -49,7 +49,7 @@ FallbackAuth::FallbackAuth(const QString &authType, const QString &session, QWid font.setPointSizeF(font.pointSizeF() * conf::modals::LABEL_MEDIUM_SIZE_RATIO); auto label = new QLabel( - tr("Open the fallback, follow the steps and confirm after completing them."), this); + tr("Open the fallback, follow the steps, and confirm after completing them."), this); label->setFont(font); layout->addWidget(label); 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(); }); }