Various Plugins: Add context object into connections

Change-Id: I360677bebfef16a3233b3b8177cff6da57ec7c31
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
This commit is contained in:
Jarek Kobus
2023-08-01 19:59:54 +02:00
parent 47fce17aa3
commit aa016cc5a7
17 changed files with 36 additions and 35 deletions

View File

@@ -93,7 +93,7 @@ SessionNameInputDialog::SessionNameInputDialog(QWidget *parent)
}.attachTo(this);
// clang-format on
connect(m_newSessionLineEdit, &QLineEdit::textChanged, [this](const QString &text) {
connect(m_newSessionLineEdit, &QLineEdit::textChanged, this, [this](const QString &text) {
m_okButton->setEnabled(!text.isEmpty());
m_switchToButton->setEnabled(!text.isEmpty());
});