Commit a8230eb6 authored by Oswald Buddenhagen's avatar Oswald Buddenhagen

do not report the .pro file itself in ProFileReader::includeFiles()

it's pointless, as no consumer has a legitimate need for it - the
project file is the root of all traversals, and is known by other means.

amends 4148b05e.

Change-Id: I4df69727e37151b0ecbcd88b2f5ef6e55712172f
Reviewed-by: Tobias Hunger's avatarTobias Hunger <>
parent 624339ea
......@@ -97,7 +97,7 @@ void ProFileReader::aboutToEval(ProFile *parent, ProFile *pro, EvalFileType type
if (m_ignoreLevel || (type != EvalProjectFile && type != EvalIncludeFile)) {
} else {
} else if (parent) { // Skip the actual .pro file, as nobody needs that.
QVector<ProFile *> &children = m_includeFiles[parent];
if (!children.contains(pro)) {
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment