QmakeProject: Replace applicationProFilePaths by idsForNodes

Change-Id: Ie10e8cb93f26eb2087272646668fafd480b0208d
Reviewed-by: Eike Ziller <eike.ziller@digia.com>
This commit is contained in:
Daniel Teske
2014-06-04 13:11:25 +02:00
parent 28985eb5a1
commit 204de740ec
9 changed files with 74 additions and 27 deletions

View File

@@ -61,11 +61,9 @@ QList<Core::Id> QnxRunConfigurationFactory::availableCreationIds(ProjectExplorer
QmakeProjectManager::QmakeProject *qt4Project = qobject_cast<QmakeProjectManager::QmakeProject *>(parent->project());
if (!qt4Project)
return ids;
QStringList proFiles = qt4Project->applicationProFilePathes(QLatin1String(Constants::QNX_QNX_RUNCONFIGURATION_PREFIX));
foreach (const QString &pf, proFiles)
ids << Core::Id::fromString(pf);
return ids;
QList<QmakeProjectManager::QmakeProFileNode *> nodes = qt4Project->applicationProFiles();
return QmakeProjectManager::QmakeProject::idsForNodes(Core::Id(Constants::QNX_QNX_RUNCONFIGURATION_PREFIX),
nodes);
}
QString QnxRunConfigurationFactory::displayNameForId(const Core::Id id) const