forked from qt-creator/qt-creator
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:
@@ -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();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user