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>
This commit is contained in:
Jarek Kobus
2022-12-07 20:48:38 +01:00
parent 0d74be319a
commit 0313470db0
14 changed files with 26 additions and 27 deletions

View File

@@ -95,7 +95,7 @@ public:
Span(2, buttonBox)
}.attachTo(this);
connect(m_nameEdit, &QLineEdit::textChanged, [this, buttonBox] {
connect(m_nameEdit, &QLineEdit::textChanged, this, [this, buttonBox] {
buttonBox->button(QDialogButtonBox::Ok)->setEnabled(m_nameEdit->isValid());
});