summaryrefslogtreecommitdiffstats
path: root/src/openvg/qvg_symbian.cpp
diff options
context:
space:
mode:
authorLaszlo Agocs <laszlo.p.agocs@nokia.com>2011-03-21 10:41:06 (GMT)
committerLaszlo Agocs <laszlo.p.agocs@nokia.com>2011-03-21 10:45:49 (GMT)
commit589fb7812ac81192a7013c0b186354f121118398 (patch)
tree7ecf689287e8e19641c46b710c37d6a6477bcc7b /src/openvg/qvg_symbian.cpp
parentcd786ac3223a515c57222ac78dac568601bc6d2e (diff)
downloadQt-589fb7812ac81192a7013c0b186354f121118398.zip
Qt-589fb7812ac81192a7013c0b186354f121118398.tar.gz
Qt-589fb7812ac81192a7013c0b186354f121118398.tar.bz2
Changed s60 style not to rely on QPixmapData::toNativeType().
Forcing VG (and GL) pixmapdata to support toNativeType() with type VolatileImage is unnecessary. It is cleaner to try doing a fromNativeType() with bitmap+mask and fall back if that results in a null pixmapdata. Reviewed-by: Jani Hautakangas
Diffstat (limited to 'src/openvg/qvg_symbian.cpp')
-rw-r--r--src/openvg/qvg_symbian.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/openvg/qvg_symbian.cpp b/src/openvg/qvg_symbian.cpp
index 24b31a2..0d2ed9e 100644
--- a/src/openvg/qvg_symbian.cpp
+++ b/src/openvg/qvg_symbian.cpp
@@ -284,8 +284,6 @@ void* QVGPixmapData::toNativeType(NativeType type)
}
// Just duplicate the bitmap handle, no data copying happens.
return source.duplicateNativeImage();
- } else if (type == QPixmapData::VolatileImage) {
- return &source;
}
return 0;
}