qmljs: fix import cache

correct update of m_importCache

Change-Id: I70a2c6777c8f0e8df7b130fcff96cd67f83ca3e4
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
This commit is contained in:
Fawzi Mohamed
2013-11-21 11:26:18 +01:00
parent dc3e594dad
commit ca57a394f4
2 changed files with 27 additions and 10 deletions

View File

@@ -224,6 +224,8 @@ public:
QSet<ImportKey> libraryImports(const ViewerContext &viewContext) const;
QSet<ImportKey> subdirImports(const ImportKey &baseKey, const ViewerContext &viewContext) const;
private:
void removeImportCacheEntry(const ImportKey &importKey, const QString &importId);
QMap<ImportKey, QStringList> m_importCache;
QMap<QString, CoreImport> m_coreImports;
};