forked from qt-creator/qt-creator
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:
@@ -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());
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user