diff options
author | Michael Dominic K <mdk@codethink.co.uk> | 2010-06-28 10:55:02 (GMT) |
---|---|---|
committer | Samuel Rødal <samuel.rodal@nokia.com> | 2010-06-28 10:55:02 (GMT) |
commit | fd8e9eadd087d11b0a01d598132ccbb19667fa5a (patch) | |
tree | 1b79721faac13600ba377bf3130e8800436b5ad5 /src/gui/painting/qgraphicssystem.cpp | |
parent | 863733d86e2dd0cd508e2928e5f995b88579ab40 (diff) | |
download | Qt-fd8e9eadd087d11b0a01d598132ccbb19667fa5a.zip Qt-fd8e9eadd087d11b0a01d598132ccbb19667fa5a.tar.gz Qt-fd8e9eadd087d11b0a01d598132ccbb19667fa5a.tar.bz2 |
New variant of ::createPixmapData with origin for QGraphicsSystem.
Merge-request: 705
Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
Diffstat (limited to 'src/gui/painting/qgraphicssystem.cpp')
-rw-r--r-- | src/gui/painting/qgraphicssystem.cpp | 4 |
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 |