Commit 9e63c714 authored by Tobias Hunger's avatar Tobias Hunger Committed by Tim Jenssen

qmake: Update QmakePriFile::subPriFilesExact

Change-Id: Ie1db4eb200c2a5d56bbca678dbe007f91aadf04a
Reviewed-by: Tim Jenssen's avatarTim Jenssen <tim.jenssen@qt.io>
parent aa4c7dc0
......@@ -502,17 +502,9 @@ QList<RunConfiguration *> QmakePriFile::runConfigurations() const
return QList<RunConfiguration *>();
}
QList<QmakePriFile *> QmakePriFile::subPriFilesExact() const
QVector<QmakePriFile *> QmakePriFile::subPriFilesExact() const
{
QList<QmakePriFile *> nodes;
#if 0
foreach (ProjectNode *node, projectNodes()) {
QmakePriFile *n = dynamic_cast<QmakePriFile *>(node);
if (n && n->includedInExactParse())
nodes << n;
}
#endif
return nodes;
return Utils::filtered(m_children, &QmakePriFile::includedInExactParse);
}
QmakeProFile *QmakePriFile::proFile() const
......
......@@ -143,7 +143,7 @@ public:
virtual QList<ProjectExplorer::RunConfiguration *> runConfigurations() const;
QmakeProFile *proFile() const;
QList<QmakePriFile*> subPriFilesExact() const;
QVector<QmakePriFile *> subPriFilesExact() const;
// Set by parent
bool includedInExactParse() const;
......
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