Replace some PathChooser::setFile with setFilePath

Change-Id: I9a135e27d97b6706ea199b60a0b0b28838c77dcc
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
hjk
2021-09-08 17:16:43 +02:00
parent f72c4cb8ac
commit 704b0af8db
8 changed files with 14 additions and 15 deletions

View File

@@ -597,9 +597,9 @@ void ExternalToolConfig::showInfoForItem(const QModelIndex &index)
const ExternalTool *tool = ExternalToolModel::toolForIndex(index);
if (!tool) {
m_ui.description->clear();
m_ui.executable->setPath(QString());
m_ui.executable->setFilePath({});
m_ui.arguments->clear();
m_ui.workingDirectory->setPath(QString());
m_ui.workingDirectory->setFilePath({});
m_ui.inputText->clear();
m_ui.infoWidget->setEnabled(false);
m_environment.clear();