forked from qt-creator/qt-creator
Utils: Rename PathChooser::changed() signal.
The name is overly generic, particularly with a pathChanged() signal also present. Rename to "rawPathChanged", which adequately describes the semantics. Change-Id: Ia62b8b0a97a794cb6d5ad6b8ce0abcd36b5f5cdb Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
This commit is contained in:
@@ -64,7 +64,7 @@ AutotoolsBuildSettingsWidget::AutotoolsBuildSettingsWidget(AutotoolsBuildConfigu
|
||||
m_pathChooser->setEnvironment(bc->environment());
|
||||
m_pathChooser->setHistoryCompleter(QLatin1String("AutoTools.BuildDir.History"));
|
||||
fl->addRow(tr("Build directory:"), m_pathChooser);
|
||||
connect(m_pathChooser, &Utils::PathChooser::changed,
|
||||
connect(m_pathChooser, &Utils::PathChooser::rawPathChanged,
|
||||
this, &AutotoolsBuildSettingsWidget::buildDirectoryChanged);
|
||||
|
||||
m_pathChooser->setBaseFileName(bc->target()->project()->projectDirectory());
|
||||
|
||||
@@ -101,7 +101,7 @@ BuildPathPage::BuildPathPage(AutotoolsOpenProjectWizard *wizard)
|
||||
m_pc->setHistoryCompleter(QLatin1String("AutoTools.BuildDir.History"));
|
||||
m_pc->setBaseDirectory(m_wizard->sourceDirectory());
|
||||
m_pc->setPath(m_wizard->buildDirectory());
|
||||
connect(m_pc, &Utils::PathChooser::changed, this, &BuildPathPage::buildDirectoryChanged);
|
||||
connect(m_pc, &Utils::PathChooser::rawPathChanged, this, &BuildPathPage::buildDirectoryChanged);
|
||||
fl->addRow(tr("Build directory:"), m_pc);
|
||||
setTitle(tr("Build Location"));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user