forked from qt-creator/qt-creator
QmlProfiler: Initialize fields in PixmapCacheItem
Change-Id: I4ab27b6a122a1a77fad23dfa1a1a8f825fff0765 Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
This commit is contained in:
@@ -87,12 +87,12 @@ public:
|
|||||||
};
|
};
|
||||||
|
|
||||||
struct PixmapCacheItem {
|
struct PixmapCacheItem {
|
||||||
int typeId;
|
int typeId = -1;
|
||||||
PixmapEventType pixmapEventType;
|
PixmapEventType pixmapEventType = MaximumPixmapEventType;
|
||||||
int urlIndex;
|
int urlIndex = -1;
|
||||||
int sizeIndex;
|
int sizeIndex = -1;
|
||||||
int rowNumberCollapsed;
|
int rowNumberCollapsed = -1;
|
||||||
qint64 cacheSize;
|
qint64 cacheSize = -1;
|
||||||
};
|
};
|
||||||
|
|
||||||
PixmapCacheModel(QmlProfilerModelManager *manager, QObject *parent = 0);
|
PixmapCacheModel(QmlProfilerModelManager *manager, QObject *parent = 0);
|
||||||
|
Reference in New Issue
Block a user