summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDonald Carr <donald.carr@nokia.com>2010-11-11 17:33:36 (GMT)
committerVille Pernu <ville.pernu@nokia.com>2010-11-12 13:34:20 (GMT)
commit4034f4e99f4821947c8b4fd5e1470964ff9da740 (patch)
tree147672121104baea3ea3b6c8aa88733011c14f44 /src
parentba086383365c16f68c7032fca7631570f61de648 (diff)
downloadQt-4034f4e99f4821947c8b4fd5e1470964ff9da740.zip
Qt-4034f4e99f4821947c8b4fd5e1470964ff9da740.tar.gz
Qt-4034f4e99f4821947c8b4fd5e1470964ff9da740.tar.bz2
Minor adjustments to merge-request 915
Fix minor stylistic issue raised by Oswald Removed duplicate sourceSurface pointer introduced by sibling merge request
Diffstat (limited to 'src')
-rw-r--r--src/plugins/gfxdrivers/directfb/qdirectfbpaintengine.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/gfxdrivers/directfb/qdirectfbpaintengine.cpp b/src/plugins/gfxdrivers/directfb/qdirectfbpaintengine.cpp
index 85ff925..ceed7ae 100644
--- a/src/plugins/gfxdrivers/directfb/qdirectfbpaintengine.cpp
+++ b/src/plugins/gfxdrivers/directfb/qdirectfbpaintengine.cpp
@@ -68,7 +68,8 @@ public:
Matrix_BlitsUnsupported = (Matrix_NegativeScale|Matrix_RectsUnsupported)
};
- inline static uint getTransformationType(const QTransform &transform) {
+ inline static uint getTransformationType(const QTransform &transform)
+ {
int ret = transform.type();
if (qMin(transform.m11(), transform.m22()) < 0) {
ret |= QDirectFBPaintEnginePrivate::Matrix_NegativeScale;
@@ -1200,7 +1201,6 @@ void QDirectFBPaintEnginePrivate::drawTiledPixmap(const QRectF &dest, const QPix
prepareForBlit(blitFlags);
QDirectFBPaintEnginePrivate::unlock(dfbData);
const QSize pixmapSize = dfbData->size();
- IDirectFBSurface *sourceSurface = dfbData->directFBSurface();
if (transform.isScaling() || pixmapTransform.isScaling()) {
Q_ASSERT(supportsStretchBlit());
Q_ASSERT(qMin(transform.m11(), transform.m22()) >= 0);