summaryrefslogtreecommitdiffstats
path: root/src/gui/image/qpixmap_x11.cpp
diff options
context:
space:
mode:
authorHarald Fernengel <harald@trolltech.com>2009-08-21 10:02:12 +0200
committerHarald Fernengel <harald@trolltech.com>2009-08-21 10:03:23 +0200
commitdeff84b66642563fa93ec01c14934289945e2912 (patch)
treef6fe3d5b41819162bfe940c2543a7b26cfe00f99 /src/gui/image/qpixmap_x11.cpp
parent168331a95fbd0fb222734abd166a29a916813f59 (diff)
compile again with QExplicitlySharedDataPointer
Diffstat (limited to 'src/gui/image/qpixmap_x11.cpp')
-rw-r--r--src/gui/image/qpixmap_x11.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/image/qpixmap_x11.cpp b/src/gui/image/qpixmap_x11.cpp
index 888fc42c7f..a75cadc6a4 100644
--- a/src/gui/image/qpixmap_x11.cpp
+++ b/src/gui/image/qpixmap_x11.cpp
@@ -2094,7 +2094,7 @@ Qt::HANDLE QPixmap::x11PictureHandle() const
{
#ifndef QT_NO_XRENDER
if (data->classId() == QPixmapData::X11Class)
- return static_cast<QX11PixmapData*>(data)->picture;
+ return static_cast<const QX11PixmapData*>(data.data())->picture;
else
return 0;
#else