forked from qt-creator/qt-creator
CppEditor: Remove wrong "else"
Task-number: QTCREATORBUG-18331 Change-Id: Ia4221bce8cac7d781e9b32bc6142269089c4acce Reviewed-by: Nikolai Kosjar <nikolai.kosjar@qt.io>
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user