Qmljs: remove unused method

Change-Id: Id3bce005ed4c972d6cbb7f37cf609ff551c7066c
Reviewed-by: Marco Benelli <marco.benelli@qt.io>
This commit is contained in:
Tim Jenssen
2017-10-19 06:38:49 +02:00
parent 0d3ee85c51
commit 7208ef1ff5
2 changed files with 0 additions and 14 deletions

View File

@@ -821,18 +821,6 @@ void ImportDependencies::removeExport(const QString &importId, const ImportKey &
<< " (" << requiredPath << ")";
}
void ImportDependencies::iterateOnCoreImports(
const ViewerContext &vContext,
std::function<bool (const CoreImport &)> const &iterF) const
{
QMapIterator<QString, CoreImport> i(m_coreImports);
while (i.hasNext()) {
i.next();
if (vContext.languageIsCompatible(i.value().language))
iterF(i.value()); // check also that at least one export is visible?
}
}
void ImportDependencies::iterateOnLibraryImports(
const ViewerContext &vContext,
std::function<bool (const ImportMatchStrength &,