Skip to content
Commit 25437106 authored by Milian Wolff's avatar Milian Wolff
Browse files

Do a bottom-up search when getting custom include paths.

When include paths are defined for the project folders

./        [1]
./foo     [2]
./foo/bar [3]

and we query for include paths defined for the file ./foo/bar/asdf.h,
then we need to iterate over the list of files such that we get
the include paths in the order of [3] + [2] + [1].

This patch fixes this and also amends the unit test.

Before, it behaved randomly due to QSet usage in KConfig::groupList.
parent 5e471995
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