More FileName::appendPath() -> .pathAppended() changes

Change-Id: Ibc7eb4eb3ffb64658e441aafa240b1ddc0061930
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
hjk
2019-05-20 17:13:51 +02:00
parent 061896a148
commit dc9cbd8f57
9 changed files with 19 additions and 29 deletions

View File

@@ -592,8 +592,7 @@ QStringList CMakeProject::filesGeneratedFrom(const QString &sourceFile) const
FileName baseDirectory = FileName::fromString(fi.absolutePath());
while (baseDirectory.isChildOf(project)) {
FileName cmakeListsTxt = baseDirectory;
cmakeListsTxt.appendPath("CMakeLists.txt");
const FileName cmakeListsTxt = baseDirectory.pathAppended("CMakeLists.txt");
if (cmakeListsTxt.exists())
break;
QDir dir(baseDirectory.toString());