QmlProjectManager: Replace a use of PathChooser::setPath

... by setFilePath

Change-Id: I1842ec8f5b4d308e5447069ca88f5130b637a1fe
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
hjk
2022-09-02 15:43:13 +02:00
parent 81abaeb2ed
commit eae5de0fa3

View File

@@ -65,7 +65,7 @@ CmakeProjectConverterDialog::CmakeProjectConverterDialog(const QmlProjectManager
m_dirSelector = new PathChooser();
m_dirSelector->setExpectedKind(PathChooser::Directory);
m_dirSelector->setValidationFunction(dirValidationFunction);
m_dirSelector->setPath(defaultDir.toString());
m_dirSelector->setFilePath(defaultDir);
QDialogButtonBox *buttons = new QDialogButtonBox(QDialogButtonBox::Ok|QDialogButtonBox::Cancel);
m_okButton = buttons->button(QDialogButtonBox::Ok);