diff options
author | Michael Dominic K <mdk@codethink.co.uk> | 2010-07-02 12:37:18 (GMT) |
---|---|---|
committer | Samuel Rødal <samuel.rodal@nokia.com> | 2010-07-02 12:37:18 (GMT) |
commit | e9a314d6734972254f52b64da77d4c5d8762517a (patch) | |
tree | b1cbe4bb161e2b4c963351c6ff21b16441a2b70a | |
parent | 1636e03a2fda5108cb4389689a327e65c47dfe0e (diff) | |
download | Qt-e9a314d6734972254f52b64da77d4c5d8762517a.zip Qt-e9a314d6734972254f52b64da77d4c5d8762517a.tar.gz Qt-e9a314d6734972254f52b64da77d4c5d8762517a.tar.bz2 |
Don't do alpha/opaque check which might cause a conversion and later pointer not-matching.
Merge-request: 724
Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
-rw-r--r-- | src/gui/painting/qgraphicssystem_runtime.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/painting/qgraphicssystem_runtime.cpp b/src/gui/painting/qgraphicssystem_runtime.cpp index 1c3ae10..3438137 100644 --- a/src/gui/painting/qgraphicssystem_runtime.cpp +++ b/src/gui/painting/qgraphicssystem_runtime.cpp @@ -418,7 +418,7 @@ void QRuntimeGraphicsSystem::setGraphicsSystem(const QString &name) QRuntimePixmapData *proxy = m_pixmapDatas.at(i); QPixmapData *newData = m_graphicsSystem->createPixmapData(proxy->m_data); // ### TODO Optimize. Openvg and s60raster graphics systems could switch internal ARGB32_PRE QImage buffers. - newData->fromImage(proxy->m_data->toImage(), Qt::AutoColor | Qt::OrderedAlphaDither); + newData->fromImage(proxy->m_data->toImage(), Qt::NoOpaqueDetection); delete proxy->m_data; proxy->m_data = newData; proxy->readBackInfo(); |