diff --git a/src/plugins/cpptools/headerpathfilter.cpp b/src/plugins/cpptools/headerpathfilter.cpp index c0a1c04cf9d..2e010ead5a2 100644 --- a/src/plugins/cpptools/headerpathfilter.cpp +++ b/src/plugins/cpptools/headerpathfilter.cpp @@ -51,7 +51,7 @@ void HeaderPathFilter::process() for (const HeaderPath &headerPath : headerPaths) filterHeaderPath(headerPath); - if (useTweakedHeaderPaths == UseTweakedHeaderPaths::Yes) + if (useTweakedHeaderPaths != UseTweakedHeaderPaths::No) tweakHeaderPaths(); }