summaryrefslogtreecommitdiff
path: root/src/plugins/qmakeprojectmanager/addlibrarywizard.cpp
diff options
context:
space:
mode:
authorhjk <hjk@qt.io>2020-04-09 11:05:50 +0200
committerhjk <hjk@qt.io>2020-04-09 17:30:23 +0000
commit79b680e7f0b0ff5ecca9b17fabb11fd03947ec8f (patch)
treeec8f594ed02b1a55869ade473130efb806b20ca1 /src/plugins/qmakeprojectmanager/addlibrarywizard.cpp
parent45ba9fcd535e4cfd5f057149b1ca4bb4dfed5bdb (diff)
downloadqt-creator-79b680e7f0b0ff5ecca9b17fabb11fd03947ec8f.tar.gz
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/qmakeprojectmanager/addlibrarywizard.cpp')
-rw-r--r--src/plugins/qmakeprojectmanager/addlibrarywizard.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/qmakeprojectmanager/addlibrarywizard.cpp b/src/plugins/qmakeprojectmanager/addlibrarywizard.cpp
index 34553567b9..0b758e01bc 100644
--- a/src/plugins/qmakeprojectmanager/addlibrarywizard.cpp
+++ b/src/plugins/qmakeprojectmanager/addlibrarywizard.cpp
@@ -195,7 +195,7 @@ DetailsPage::DetailsPage(AddLibraryWizard *parent)
const auto pathValidator = [libPathChooser](Utils::FancyLineEdit *edit, QString *errorMessage) {
return libPathChooser->defaultValidationFunction()(edit, errorMessage)
- && validateLibraryPath(libPathChooser->fileName(),
+ && validateLibraryPath(libPathChooser->filePath(),
libPathChooser, errorMessage);
};
libPathChooser->setValidationFunction(pathValidator);