summaryrefslogtreecommitdiffstats
path: root/src/gui/painting/qgraphicssystem.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/painting/qgraphicssystem.cpp')
-rw-r--r--src/gui/painting/qgraphicssystem.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gui/painting/qgraphicssystem.cpp b/src/gui/painting/qgraphicssystem.cpp
index 2ea3d33..69ce47e 100644
--- a/src/gui/painting/qgraphicssystem.cpp
+++ b/src/gui/painting/qgraphicssystem.cpp
@@ -79,5 +79,9 @@ QPixmapData *QGraphicsSystem::createDefaultPixmapData(QPixmapData::PixelType typ
return 0;
}
+QPixmapData *QGraphicsSystem::createPixmapData(QPixmapData *origin)
+{
+ return createPixmapData(origin->pixelType());
+}
QT_END_NAMESPACE