Revert "Don't accumulate includePaths and frameworkPaths on each parsing"

Broke the build, and, according to erikv, 'isn't valid any more'.

This reverts commit 70c77152ff5ab8471623f2733a65725b0bd0aea0

Change-Id: I7566f9f462ba58d676c1d86e0b73494fd1d97d93
Reviewed-by: Bill King <bill.king@nokia.com>
This commit is contained in:
Kai Koehne
2012-02-20 11:39:20 +01:00
parent 3978875fec
commit 66341196f8

View File

@@ -261,9 +261,6 @@ void GenericProject::refresh(RefreshOptions options)
CPlusPlus::CppModelManagerInterface::ProjectPart::Ptr part(
new CPlusPlus::CppModelManagerInterface::ProjectPart);
pinfo.frameworkPaths.clear();
pinfo.includePaths.clear();
if (m_toolChain) {
part->defines = m_toolChain->predefinedMacros(QStringList());
part->defines += '\n';