forked from qt-creator/qt-creator
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:
@@ -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';
|
||||
|
Reference in New Issue
Block a user