summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnders Bakken <anders.bakken@nokia.com>2009-09-30 22:02:35 (GMT)
committerAnders Bakken <anders.bakken@nokia.com>2009-10-01 00:03:39 (GMT)
commitab4bd7df83519fee126c4dfba0ed923ecc0a0963 (patch)
treefbdb33da433161530998cccd216816e43cf9a348
parenta73213cf5acdaabcd61245a6882e608b2337da3c (diff)
downloadQt-ab4bd7df83519fee126c4dfba0ed923ecc0a0963.zip
Qt-ab4bd7df83519fee126c4dfba0ed923ecc0a0963.tar.gz
Qt-ab4bd7df83519fee126c4dfba0ed923ecc0a0963.tar.bz2
Make sure gccaps is properly initialized for dfbpe
Reviewed-by: Noam Rosenthal <noam.rosenthal@nokia.com>
-rw-r--r--src/plugins/gfxdrivers/directfb/qdirectfbpaintengine.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/gfxdrivers/directfb/qdirectfbpaintengine.cpp b/src/plugins/gfxdrivers/directfb/qdirectfbpaintengine.cpp
index a9ae72c..dd6b0d3 100644
--- a/src/plugins/gfxdrivers/directfb/qdirectfbpaintengine.cpp
+++ b/src/plugins/gfxdrivers/directfb/qdirectfbpaintengine.cpp
@@ -284,7 +284,9 @@ bool QDirectFBPaintEngine::begin(QPaintDevice *device)
}
d->prepare(d->dfbDevice);
+ gccaps = AllFeatures;
d->setCompositionMode(state()->composition_mode);
+
return QRasterPaintEngine::begin(device);
}