forked from qt-creator/qt-creator
cplusplus: Make functions of Icons static
This avoids multiple instatiations and reloading of the same image files. Change-Id: I4d0bb955e23c1cb817671c25bff4e74fb7b3d0f4 Reviewed-by: David Schulz <david.schulz@theqtcompany.com>
This commit is contained in:
@@ -32,7 +32,6 @@
|
||||
#include "stringtable.h"
|
||||
|
||||
#include <cplusplus/CppDocument.h>
|
||||
#include <cplusplus/Icons.h>
|
||||
#include <cplusplus/Overview.h>
|
||||
|
||||
#include <QString>
|
||||
@@ -108,7 +107,6 @@ private:
|
||||
IndexItem::Ptr _parent;
|
||||
QString _scope;
|
||||
CPlusPlus::Overview overview;
|
||||
CPlusPlus::Icons icons;
|
||||
SymbolTypes symbolsToSearchFor;
|
||||
QHash<const CPlusPlus::StringLiteral *, QString> m_paths;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user