From 7f8c243dec987018db47547c6ddea9cd8272e02a Mon Sep 17 00:00:00 2001 From: Martin Jones Date: Tue, 29 May 2012 08:46:43 +1000 Subject: [PATCH] Remove unused data member in QQuickPixmapCache Change-Id: Ia66d2fac821c133d00d9dfcaf2b497f212ffc832 Reviewed-by: Andrew den Exter --- src/quick/util/qquickpixmapcache.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/quick/util/qquickpixmapcache.cpp b/src/quick/util/qquickpixmapcache.cpp index f9fc755..9f11062 100644 --- a/src/quick/util/qquickpixmapcache.cpp +++ b/src/quick/util/qquickpixmapcache.cpp @@ -228,7 +228,7 @@ public: } QQuickPixmapData(QQuickPixmap *pixmap, const QUrl &u, QQuickTextureFactory *texture, const QSize &s, const QSize &r) - : refCount(1), inCache(false), privatePixmap(false), pixmapStatus(QQuickPixmap::Ready), + : refCount(1), inCache(false), pixmapStatus(QQuickPixmap::Ready), url(u), implicitSize(s), requestSize(r), textureFactory(texture), reply(0), prevUnreferenced(0), prevUnreferencedPtr(0), nextUnreferenced(0) { @@ -236,7 +236,7 @@ public: } QQuickPixmapData(QQuickPixmap *pixmap, QQuickTextureFactory *texture) - : refCount(1), inCache(false), privatePixmap(true), pixmapStatus(QQuickPixmap::Ready), + : refCount(1), inCache(false), pixmapStatus(QQuickPixmap::Ready), textureFactory(texture), reply(0), prevUnreferenced(0), prevUnreferencedPtr(0), nextUnreferenced(0) { @@ -264,7 +264,6 @@ public: uint refCount; bool inCache:1; - bool privatePixmap:1; QQuickPixmap::Status pixmapStatus; QUrl url; -- 2.7.4