diff --git a/src/plugins/projectexplorer/devicesupport/sshsettingspage.cpp b/src/plugins/projectexplorer/devicesupport/sshsettingspage.cpp index 451ec0328f2..0e20e19b440 100644 --- a/src/plugins/projectexplorer/devicesupport/sshsettingspage.cpp +++ b/src/plugins/projectexplorer/devicesupport/sshsettingspage.cpp @@ -157,7 +157,7 @@ void SshSettingsWidget::setupPathChooser(PathChooser &chooser, const FilePath &i { chooser.setExpectedKind(PathChooser::ExistingCommand); chooser.setFilePath(initialPath); - connect(&chooser, &PathChooser::pathChanged, [&changedFlag] { changedFlag = true; }); + connect(&chooser, &PathChooser::filePathChanged, [&changedFlag] { changedFlag = true; }); } void SshSettingsWidget::updateCheckboxEnabled() diff --git a/src/plugins/projectexplorer/jsonwizard/jsonfieldpage.cpp b/src/plugins/projectexplorer/jsonwizard/jsonfieldpage.cpp index 56c3617ce00..a4a44809445 100644 --- a/src/plugins/projectexplorer/jsonwizard/jsonfieldpage.cpp +++ b/src/plugins/projectexplorer/jsonwizard/jsonfieldpage.cpp @@ -856,7 +856,7 @@ QWidget *PathChooserField::createWidget(const QString &displayName, JsonFieldPag auto w = new PathChooser; if (!m_historyId.isEmpty()) w->setHistoryCompleter(m_historyId); - QObject::connect(w, &PathChooser::pathChanged, [this, w] { + QObject::connect(w, &PathChooser::filePathChanged, [this, w] { if (w->filePath() != m_path) setHasUserChanges(); }); diff --git a/src/plugins/projectexplorer/kitinformation.cpp b/src/plugins/projectexplorer/kitinformation.cpp index a39c091dba3..b9ed3db1b1b 100644 --- a/src/plugins/projectexplorer/kitinformation.cpp +++ b/src/plugins/projectexplorer/kitinformation.cpp @@ -80,7 +80,7 @@ public: m_chooser->setExpectedKind(Utils::PathChooser::ExistingDirectory); m_chooser->setHistoryCompleter(QLatin1String("PE.SysRoot.History")); m_chooser->setFilePath(SysRootKitAspect::sysRoot(k)); - connect(m_chooser, &Utils::PathChooser::pathChanged, + connect(m_chooser, &PathChooser::filePathChanged, this, &SysRootKitAspectWidget::pathWasChanged); }