diff options
author | hjk <hjk@qt.io> | 2020-04-09 11:05:50 +0200 |
---|---|---|
committer | hjk <hjk@qt.io> | 2020-04-09 17:30:23 +0000 |
commit | 79b680e7f0b0ff5ecca9b17fabb11fd03947ec8f (patch) | |
tree | ec8f594ed02b1a55869ade473130efb806b20ca1 /src/plugins/clangtools | |
parent | 45ba9fcd535e4cfd5f057149b1ca4bb4dfed5bdb (diff) |
Utils: Rename PathChooser::{f,setF}ileName() to {f,setF}ilePath()
It's returning a FilePath, so it's a better fit.
Keep the old versions as inline function now to ease downstream migration.
Change-Id: I535887928018f42b92895c8b0c82527f0d55e5ca
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Reviewed-by: André Hartmann <aha_1980@gmx.de>
Diffstat (limited to 'src/plugins/clangtools')
-rw-r--r-- | src/plugins/clangtools/settingswidget.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/clangtools/settingswidget.cpp b/src/plugins/clangtools/settingswidget.cpp index 9b41ce631b..a095450d26 100644 --- a/src/plugins/clangtools/settingswidget.cpp +++ b/src/plugins/clangtools/settingswidget.cpp @@ -54,7 +54,7 @@ static void setupPathChooser(Utils::PathChooser *const chooser, chooser->setExpectedKind(Utils::PathChooser::ExistingCommand); chooser->setHistoryCompleter(historyCompleterId); chooser->setValidationFunction([chooser](Utils::FancyLineEdit *edit, QString *errorMessage) { - const QString currentFilePath = chooser->fileName().toString(); + const QString currentFilePath = chooser->filePath().toString(); Utils::PathChooser pc; Utils::PathChooser *helperPathChooser; if (currentFilePath.isEmpty()) { |