ProjectExplorer: Replace some uses of PathChoosers::pathChanged

Change-Id: I3b0cc4218d1b0222f49bf98bbff206a38fa0b571
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
hjk
2022-06-29 16:21:03 +02:00
parent 84a3529846
commit e2c8866f2a
3 changed files with 3 additions and 3 deletions

View File

@@ -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();
});