Commit 20a11032 authored by Robert Loehning's avatar Robert Loehning

CppEditor: Remove wrong "else"

Task-number: QTCREATORBUG-18331
Change-Id: Ia4221bce8cac7d781e9b32bc6142269089c4acce
Reviewed-by: Nikolai Kosjar's avatarNikolai Kosjar <nikolai.kosjar@qt.io>
parent 70ff6eb2
......@@ -467,7 +467,7 @@ QList<ProjectPart::Ptr> fetchProjectParts(CppTools::CppModelManager *modelManage
if (projectParts.isEmpty())
projectParts = modelManager->projectPartFromDependencies(filePath);
else if (projectParts.isEmpty())
if (projectParts.isEmpty())
projectParts.append(modelManager->fallbackProjectPart());
return projectParts;
......
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