forked from qt-creator/qt-creator
Revert "Fixed the direction in which include paths are traversed"
This reverts commit 6a9e7ab0f4
.
This commit is contained in:
@@ -379,8 +379,8 @@ QString CppPreprocessor::tryIncludeFile(QString &fileName, IncludeType type)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
for (int i = m_includePaths.size() - 1; i != -1; --i) {
|
foreach (const QString &includePath, m_includePaths) {
|
||||||
QString path = m_includePaths.at(i);
|
QString path = includePath;
|
||||||
path += QLatin1Char('/');
|
path += QLatin1Char('/');
|
||||||
path += fileName;
|
path += fileName;
|
||||||
path = QDir::cleanPath(path);
|
path = QDir::cleanPath(path);
|
||||||
|
Reference in New Issue
Block a user