forked from qt-creator/qt-creator
More FileName::appendPath() -> .pathAppended() changes
Change-Id: Ibc7eb4eb3ffb64658e441aafa240b1ddc0061930 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user