summaryrefslogtreecommitdiff
path: root/src/plugins/git/gerrit/authenticationdialog.cpp
diff options
context:
space:
mode:
authorJarek Kobus <jaroslaw.kobus@qt.io>2022-12-07 20:48:38 +0100
committerJarek Kobus <jaroslaw.kobus@qt.io>2022-12-07 21:54:39 +0000
commit0313470db0d5333ea5eda2da81e15c682f3ab981 (patch)
tree85173b7a0e028ad134dbd89fe0fe478678b1ad0e /src/plugins/git/gerrit/authenticationdialog.cpp
parent0d74be319af9425d6fba12a2f06cd3bc1c6ef28f (diff)
downloadqt-creator-0313470db0d5333ea5eda2da81e15c682f3ab981.tar.gz
VcsBase: Pass context object to lambda connections
Remove some unneeded lambda () brackets. Change-Id: I20e43625793401544e86efb627f5921c395026bb Reviewed-by: Orgad Shaneh <orgads@gmail.com> Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Diffstat (limited to 'src/plugins/git/gerrit/authenticationdialog.cpp')
-rw-r--r--src/plugins/git/gerrit/authenticationdialog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/git/gerrit/authenticationdialog.cpp b/src/plugins/git/gerrit/authenticationdialog.cpp
index 3dacd0d271..8b96528440 100644
--- a/src/plugins/git/gerrit/authenticationdialog.cpp
+++ b/src/plugins/git/gerrit/authenticationdialog.cpp
@@ -113,7 +113,7 @@ AuthenticationDialog::AuthenticationDialog(GerritServer *server)
m_checkTimer = new QTimer(this);
m_checkTimer->setSingleShot(true);
connect(m_checkTimer, &QTimer::timeout, this, &AuthenticationDialog::checkCredentials);
- connect(m_passwordLineEdit, &QLineEdit::textChanged, [this]() {
+ connect(m_passwordLineEdit, &QLineEdit::textChanged, this, [this] {
if (QGuiApplication::clipboard()->text() == m_passwordLineEdit->text()) {
checkCredentials();
return;