ProjectExplorer: Remove HeaderPath::isFrameworkPath

None of the other types has a query function, so remove this one, too.

Change-Id: I936d162e092c8f9361b0e3bb86676e68905d2f4b
Reviewed-by: Marco Bubke <marco.bubke@qt.io>
This commit is contained in:
Tobias Hunger
2018-09-13 12:58:38 +02:00
parent 11245564da
commit c763d4d787
4 changed files with 4 additions and 9 deletions

View File

@@ -1271,7 +1271,7 @@ bool InternalCppCompletionAssistProcessor::completeInclude(const QTextCursor &cu
if (!directoryPrefix.isEmpty()) {
realPath += QLatin1Char('/');
realPath += directoryPrefix;
if (headerPath.isFrameworkPath())
if (headerPath.type == ProjectExplorer::HeaderPathType::Framework)
realPath += QLatin1String(".framework/Headers");
}
completeInclude(realPath, suffixes);