Qbs: Improve performance even further...

setupFolder is called recursively...

Change-Id: Ief1d1d45294a3821f5496d832a2130a8ff779f44
Reviewed-by: Christian Kandeler <christian.kandeler@theqtcompany.com>
This commit is contained in:
Orgad Shaneh
2016-02-22 15:49:14 +02:00
committed by Orgad Shaneh
parent 0642c10512
commit c632ce44f7
2 changed files with 14 additions and 10 deletions

View File

@@ -106,8 +106,10 @@ public:
const QString &productPath, bool updateExisting);
private:
static void setupFolder(ProjectExplorer::FolderNode *folder, const qbs::GroupData &group,
const FileTreeNode *subFileTree, const QString &baseDir, bool updateExisting);
static void setupFolder(ProjectExplorer::FolderNode *folder,
const QHash<QString, ProjectExplorer::FileType> &fileTypeHash,
const FileTreeNode *subFileTree, const QString &baseDir,
bool updateExisting);
static ProjectExplorer::FileType fileType(const qbs::SourceArtifact &artifact);
qbs::GroupData m_qbsGroupData;