Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Marco Bubke
flatpak-qt-creator
Commits
6a9e7ab0
Commit
6a9e7ab0
authored
Nov 10, 2009
by
Thorbjørn Lindeijer
Browse files
Fixed the direction in which include paths are traversed
Reviewed-by:
Roberto Raggi
<
roberto.raggi@nokia.com
>
parent
b71be596
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/cpptools/cppmodelmanager.cpp
View file @
6a9e7ab0
...
...
@@ -379,8 +379,8 @@ QString CppPreprocessor::tryIncludeFile(QString &fileName, IncludeType type)
}
}
for
each
(
const
QString
&
includePath
,
m_includePaths
)
{
QString
path
=
includePath
;
for
(
int
i
=
m_includePaths
.
size
()
-
1
;
i
!=
-
1
;
--
i
)
{
QString
path
=
m_
includePath
s
.
at
(
i
)
;
path
+=
QLatin1Char
(
'/'
);
path
+=
fileName
;
path
=
QDir
::
cleanPath
(
path
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment