forked from qt-creator/qt-creator
ClassView: Consolidate project caches into one
We had three different hashes that cached the project data. Replace it with one cache. Provide a dedicated structure for it. Task-number: QTCREATORBUG-25317 Change-Id: Ib6bafd38ee3c48f3e4960be1650709af777f255a Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
@@ -58,7 +58,6 @@ public:
|
||||
void fetchMore(QStandardItem *item, bool skipRoot = false) const;
|
||||
bool hasChildren(QStandardItem *item) const;
|
||||
|
||||
void clearCache();
|
||||
void requestCurrentState();
|
||||
void removeFiles(const QStringList &fileList);
|
||||
void resetDataToCurrentState();
|
||||
@@ -70,7 +69,6 @@ signals:
|
||||
|
||||
private:
|
||||
using CitCachedDocTreeRevision = QHash<QString, unsigned>::const_iterator;
|
||||
using CitCachedPrjFileLists = QHash<QString, QStringList>::const_iterator;
|
||||
|
||||
void setFileList(const QStringList &fileList);
|
||||
void resetData(const CPlusPlus::Snapshot &snapshot);
|
||||
|
||||
Reference in New Issue
Block a user