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