diff options
author | Samuel Rødal <samuel.rodal@nokia.com> | 2011-02-28 16:12:45 (GMT) |
---|---|---|
committer | Samuel Rødal <samuel.rodal@nokia.com> | 2011-03-04 11:29:54 (GMT) |
commit | 7b4e032559c7b226280e5c9229cd685e73d1e707 (patch) | |
tree | 1edcb33e0002eab478bcf5c7e8d20abfd51b5e97 /src/plugins/graphicssystems | |
parent | 2e80c16854c97aafff229828a5dbf4b0e31d245f (diff) | |
download | Qt-7b4e032559c7b226280e5c9229cd685e73d1e707.zip Qt-7b4e032559c7b226280e5c9229cd685e73d1e707.tar.gz Qt-7b4e032559c7b226280e5c9229cd685e73d1e707.tar.bz2 |
Added image conversion flag to prevent conversions.
This is needed in the meego graphics system to support the shared image
fallback path (when using the raster graphicssystem). The flag is
internal.
Reviewed-by: Gunnar Sletta
Diffstat (limited to 'src/plugins/graphicssystems')
-rw-r--r-- | src/plugins/graphicssystems/meego/qmeegographicssystem.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/graphicssystems/meego/qmeegographicssystem.cpp b/src/plugins/graphicssystems/meego/qmeegographicssystem.cpp index a70d232..6b8d2b3 100644 --- a/src/plugins/graphicssystems/meego/qmeegographicssystem.cpp +++ b/src/plugins/graphicssystems/meego/qmeegographicssystem.cpp @@ -171,7 +171,7 @@ QPixmapData *QMeeGoGraphicsSystem::pixmapDataFromEGLSharedImage(Qt::HANDLE handl return QMeeGoGraphicsSystem::wrapPixmapData(pmd); } else { QRasterPixmapData *pmd = new QRasterPixmapData(QPixmapData::PixmapType); - pmd->fromImage(softImage, Qt::NoOpaqueDetection); + pmd->fromImage(softImage, Qt::NoFormatConversion); // Make sure that the image was not converted in any way if (pmd->buffer()->data_ptr()->data != |