summaryrefslogtreecommitdiffstats
path: root/examples/painting/shared/arthurwidgets.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/painting/shared/arthurwidgets.cpp')
-rw-r--r--examples/painting/shared/arthurwidgets.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/painting/shared/arthurwidgets.cpp b/examples/painting/shared/arthurwidgets.cpp
index b3c75f0fc4..2b8d6ebcee 100644
--- a/examples/painting/shared/arthurwidgets.cpp
+++ b/examples/painting/shared/arthurwidgets.cpp
@@ -86,7 +86,7 @@ ArthurFrame::ArthurFrame(QWidget *parent)
#ifdef Q_WS_X11
QPixmap xRenderPixmap(1, 1);
- m_prefer_image = xRenderPixmap.pixmapData()->classId() == QPixmapData::X11Class && !xRenderPixmap.x11PictureHandle();
+ m_prefer_image = xRenderPixmap.handle()->classId() == QPlatformPixmap::X11Class && !xRenderPixmap.x11PictureHandle();
#endif
}