forked from qt-creator/qt-creator
CppTools: Move Project{Part,Info} to new cppprojects.{h,cpp}
Change-Id: Ieff216017b9da1e6a12121688ea9572bdd81fd9b Reviewed-by: Erik Verbruggen <erik.verbruggen@digia.com>
This commit is contained in:
committed by
Erik Verbruggen
parent
b8a6a4dd4e
commit
6b5298faf9
@@ -150,12 +150,12 @@ TestActionsTestCase::TestActionsTestCase(const Actions &tokenActions, const Acti
|
||||
// Collect files to process
|
||||
QStringList filesToOpen;
|
||||
QList<QPointer<ProjectExplorer::Project> > projects;
|
||||
const QList<CppModelManagerInterface::ProjectInfo> projectInfos
|
||||
const QList<ProjectInfo> projectInfos
|
||||
= m_modelManager->projectInfos();
|
||||
if (projectInfos.isEmpty())
|
||||
MSKIP_SINGLE("No project(s) loaded. Test operates only on loaded projects.");
|
||||
|
||||
foreach (const CppModelManagerInterface::ProjectInfo &info, projectInfos) {
|
||||
foreach (const ProjectInfo &info, projectInfos) {
|
||||
QPointer<ProjectExplorer::Project> project = info.project();
|
||||
if (!projects.contains(project))
|
||||
projects << project;
|
||||
|
||||
Reference in New Issue
Block a user