Remove unused data member in QQuickPixmapCache
authorMartin Jones <martin.jones@nokia.com>
Mon, 28 May 2012 22:46:43 +0000 (08:46 +1000)
committerQt by Nokia <qt-info@nokia.com>
Wed, 30 May 2012 02:37:59 +0000 (04:37 +0200)
Change-Id: Ia66d2fac821c133d00d9dfcaf2b497f212ffc832
Reviewed-by: Andrew den Exter <andrew.den-exter@nokia.com>
src/quick/util/qquickpixmapcache.cpp

index f9fc755..9f11062 100644 (file)
@@ -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;