forked from qt-creator/qt-creator
Some more FileName::appendPath() -> pathAppended() changes
Change-Id: Ie494f7ae8a96d97c9497b3ef38d774d2cf787b7f Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
@@ -266,8 +266,8 @@ QStringList relativeDirsList(Utils::FileName currentPath, const Utils::FileName
|
||||
|
||||
FolderNode *addChildFolderNode(FolderNode *parent, const QString &childName)
|
||||
{
|
||||
Utils::FileName parentPath = parent->filePath();
|
||||
auto node = std::make_unique<FolderNode>(parentPath.appendPath(childName));
|
||||
const Utils::FileName path = parent->filePath().pathAppended(childName);
|
||||
auto node = std::make_unique<FolderNode>(path);
|
||||
FolderNode *childNode = node.get();
|
||||
childNode->setDisplayName(childName);
|
||||
parent->addNode(std::move(node));
|
||||
|
||||
Reference in New Issue
Block a user