summaryrefslogtreecommitdiffstats
path: root/src/gui/image/qpixmap_s60.cpp
diff options
context:
space:
mode:
authorShane Kearns <shane.kearns@sosco.com>2009-11-19 16:52:51 (GMT)
committerShane Kearns <shane.kearns@sosco.com>2009-11-19 16:52:51 (GMT)
commit5f5e1b7aa5d03203346e00751b8bf15883944b25 (patch)
tree3249e917ea4ab58d38d0f78bad2db8d912c31942 /src/gui/image/qpixmap_s60.cpp
parent1f6aa19209a7d22bb15bf0a0afb2d62200c0d3fa (diff)
downloadQt-5f5e1b7aa5d03203346e00751b8bf15883944b25.zip
Qt-5f5e1b7aa5d03203346e00751b8bf15883944b25.tar.gz
Qt-5f5e1b7aa5d03203346e00751b8bf15883944b25.tar.bz2
Fix crash when using splash screen, or QPixmap::copy()
Missing virtual function now implemented Task-number: QTBUG-5977 Reviewed-by: axis
Diffstat (limited to 'src/gui/image/qpixmap_s60.cpp')
-rw-r--r--src/gui/image/qpixmap_s60.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gui/image/qpixmap_s60.cpp b/src/gui/image/qpixmap_s60.cpp
index 17baa50..dc33ade 100644
--- a/src/gui/image/qpixmap_s60.cpp
+++ b/src/gui/image/qpixmap_s60.cpp
@@ -977,4 +977,9 @@ void QS60PixmapData::fromNativeType(void* pixmap, NativeType nativeType)
}
}
+QPixmapData *QS60PixmapData::createCompatiblePixmapData() const
+{
+ return new QS60PixmapData(pixelType());
+}
+
QT_END_NAMESPACE