summaryrefslogtreecommitdiffstats
path: root/src/plugins/gfxdrivers
diff options
context:
space:
mode:
authorAnders Bakken <anders.bakken@nokia.com>2009-04-09 08:30:24 (GMT)
committerAnders Bakken <anders.bakken@nokia.com>2009-04-09 08:30:24 (GMT)
commitf1152c539845b4a52f22c8f2c978c684b442f4be (patch)
treedb40affb1a9dff32e33d71b38cff3a240de1061d /src/plugins/gfxdrivers
parent743fc72ff7fd64ad5a0857f9103b68074a8c8103 (diff)
downloadQt-f1152c539845b4a52f22c8f2c978c684b442f4be.zip
Qt-f1152c539845b4a52f22c8f2c978c684b442f4be.tar.gz
Qt-f1152c539845b4a52f22c8f2c978c684b442f4be.tar.bz2
Make sure to update the member opacity variable
Reviewed-by: TrustMe
Diffstat (limited to 'src/plugins/gfxdrivers')
-rw-r--r--src/plugins/gfxdrivers/directfb/qdirectfbpaintengine.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/gfxdrivers/directfb/qdirectfbpaintengine.cpp b/src/plugins/gfxdrivers/directfb/qdirectfbpaintengine.cpp
index f72b0da..24d77bf 100644
--- a/src/plugins/gfxdrivers/directfb/qdirectfbpaintengine.cpp
+++ b/src/plugins/gfxdrivers/directfb/qdirectfbpaintengine.cpp
@@ -436,8 +436,9 @@ void QDirectFBPaintEnginePrivate::setCompositionMode(QPainter::CompositionMode m
}
}
-void QDirectFBPaintEnginePrivate::setOpacity(quint8 opacity)
+void QDirectFBPaintEnginePrivate::setOpacity(quint8 op)
{
+ opacity = op;
if (opacity == 255) {
// ### need to check this stuff
blitFlagsFromCompositionMode &= ~(DSBLIT_BLEND_COLORALPHA | DSBLIT_SRC_PREMULTCOLOR);