forked from qt-creator/qt-creator
BareMetal: Modernize connections
Change-Id: I1d504da25b44dc60be7dca2b07f5eadbc437826c Reviewed-by: Tim Sander <tim@krieglstein.org> Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
This commit is contained in:
@@ -47,7 +47,7 @@ BareMetalGdbCommandsDeployStepWidget::BareMetalGdbCommandsDeployStepWidget(BareM
|
||||
m_commands = new QPlainTextEdit(this);
|
||||
fl->addRow(tr("GDB commands:"), m_commands);
|
||||
m_commands->setPlainText(m_step.gdbCommands());
|
||||
connect(m_commands, SIGNAL(textChanged()), SLOT(update()));
|
||||
connect(m_commands, &QPlainTextEdit::textChanged, this, &BareMetalGdbCommandsDeployStepWidget::update);
|
||||
}
|
||||
|
||||
void BareMetalGdbCommandsDeployStepWidget::update()
|
||||
|
||||
Reference in New Issue
Block a user