Commit 7208ef1f authored by Tim Jenssen's avatar Tim Jenssen

Qmljs: remove unused method

Change-Id: Id3bce005ed4c972d6cbb7f37cf609ff551c7066c
Reviewed-by: default avatarMarco Benelli <marco.benelli@qt.io>
parent 0d3ee85c
......@@ -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 &,
......
......@@ -209,8 +209,6 @@ public:
void removeExport(const QString &importId, const ImportKey &importKey,
const QString &requiredPath, const QString &typeName = Export::libraryTypeName());
void iterateOnCoreImports(const ViewerContext &vContext,
std::function<bool(const CoreImport &)> const &iterF) const;
void iterateOnLibraryImports(const ViewerContext &vContext,
std::function<bool(const ImportMatchStrength &,
const Export &,
......
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