summaryrefslogtreecommitdiffstats
path: root/src/graphicsitems/qximagebase_p_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/graphicsitems/qximagebase_p_p.h')
-rw-r--r--src/graphicsitems/qximagebase_p_p.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/graphicsitems/qximagebase_p_p.h b/src/graphicsitems/qximagebase_p_p.h
index ab6b49b..6e28b8b 100644
--- a/src/graphicsitems/qximagebase_p_p.h
+++ b/src/graphicsitems/qximagebase_p_p.h
@@ -75,7 +75,6 @@ public:
~QxImageBasePrivate()
{
- delete texture;
}
QDeclarativePixmap pix;
@@ -83,7 +82,7 @@ public:
QUrl url;
qreal progress;
QSize sourcesize;
- const TextureReference *texture;
+ QSGTextureRef texture;
bool explicitSourceSize : 1;
bool async : 1;
};