CppTools: Reduce calls to mime database.

...by removing the unneeded ProjectFileAdder. Its job is already done
earlier, so use the results.

Change-Id: Ifd865e6203ed6162a0d852c2128fb6d30208a52b
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Reviewed-by: Christian Kandeler <christian.kandeler@theqtcompany.com>
This commit is contained in:
Nikolai Kosjar
2016-02-23 13:34:58 +01:00
parent bbba9ccae3
commit 32842e754d
2 changed files with 21 additions and 71 deletions

View File

@@ -66,7 +66,8 @@ public:
const Utils::FileName &sysRoot);
private:
void createProjectPart(const QStringList &theSources, const QString &partName,
void createProjectPart(const QVector<ProjectFile> &theSources,
const QString &partName,
ProjectPart::LanguageVersion languageVersion,
ProjectPart::LanguageExtensions languageExtensions);