CppEditor: Remove wrong "else"

Task-number: QTCREATORBUG-18331
Change-Id: Ia4221bce8cac7d781e9b32bc6142269089c4acce
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@qt.io>
This commit is contained in:
Robert Loehning
2017-06-02 13:12:44 +02:00
parent 70ff6eb2cc
commit 20a1103296

View File

@@ -467,7 +467,7 @@ QList<ProjectPart::Ptr> fetchProjectParts(CppTools::CppModelManager *modelManage
if (projectParts.isEmpty()) if (projectParts.isEmpty())
projectParts = modelManager->projectPartFromDependencies(filePath); projectParts = modelManager->projectPartFromDependencies(filePath);
else if (projectParts.isEmpty()) if (projectParts.isEmpty())
projectParts.append(modelManager->fallbackProjectPart()); projectParts.append(modelManager->fallbackProjectPart());
return projectParts; return projectParts;