forked from qt-creator/qt-creator
Debugger: Use PathChooser::pathChanged() signal in some places.
Instead of PathChooser::rawPathChanged(), because the associated slots use PathChooser::path() rather than PathChooser::rawPath(). Change-Id: Idcf0709583ccf285d07f45b2b3007951d918fb04 Reviewed-by: hjk <hjk@theqtcompany.com>
This commit is contained in:
@@ -260,7 +260,7 @@ DebuggerItemConfigWidget::DebuggerItemConfigWidget(DebuggerItemModel *model)
|
|||||||
formLayout->addRow(new QLabel(tr("ABIs:")), m_abis);
|
formLayout->addRow(new QLabel(tr("ABIs:")), m_abis);
|
||||||
formLayout->addRow(new QLabel(tr("Version:")), m_versionLabel);
|
formLayout->addRow(new QLabel(tr("Version:")), m_versionLabel);
|
||||||
|
|
||||||
connect(m_binaryChooser, &PathChooser::rawPathChanged,
|
connect(m_binaryChooser, &PathChooser::pathChanged,
|
||||||
this, &DebuggerItemConfigWidget::binaryPathHasChanged);
|
this, &DebuggerItemConfigWidget::binaryPathHasChanged);
|
||||||
connect(m_displayNameLineEdit, &QLineEdit::textChanged,
|
connect(m_displayNameLineEdit, &QLineEdit::textChanged,
|
||||||
this, &DebuggerItemConfigWidget::store);
|
this, &DebuggerItemConfigWidget::store);
|
||||||
|
|||||||
@@ -256,7 +256,7 @@ DebuggerSourcePathMappingWidget::DebuggerSourcePathMappingWidget(QWidget *parent
|
|||||||
m_targetChooser->setHistoryCompleter(QLatin1String("Debugger.MappingTarget.History"));
|
m_targetChooser->setHistoryCompleter(QLatin1String("Debugger.MappingTarget.History"));
|
||||||
connect(m_sourceLineEdit, &QLineEdit::textChanged,
|
connect(m_sourceLineEdit, &QLineEdit::textChanged,
|
||||||
this, &DebuggerSourcePathMappingWidget::slotEditSourceFieldChanged);
|
this, &DebuggerSourcePathMappingWidget::slotEditSourceFieldChanged);
|
||||||
connect(m_targetChooser, &PathChooser::rawPathChanged,
|
connect(m_targetChooser, &PathChooser::pathChanged,
|
||||||
this, &DebuggerSourcePathMappingWidget::slotEditTargetFieldChanged);
|
this, &DebuggerSourcePathMappingWidget::slotEditTargetFieldChanged);
|
||||||
auto editLayout = new QFormLayout;
|
auto editLayout = new QFormLayout;
|
||||||
const QString sourceToolTip = tr("<p>The source path contained in the "
|
const QString sourceToolTip = tr("<p>The source path contained in the "
|
||||||
|
|||||||
Reference in New Issue
Block a user