summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAnders Bakken <anders.bakken@nokia.com>2009-06-22 03:44:26 (GMT)
committerAnders Bakken <anders.bakken@nokia.com>2009-06-22 03:44:26 (GMT)
commit3d0e9c521f4cdc788a7f2335a0d98a811638a9d1 (patch)
tree9e5463833db2244dc3489918ff32d8a156a702eb /src
parent70db717f8a6bbdb52ea22feacf2ced4fbea8fd1c (diff)
downloadQt-3d0e9c521f4cdc788a7f2335a0d98a811638a9d1.zip
Qt-3d0e9c521f4cdc788a7f2335a0d98a811638a9d1.tar.gz
Qt-3d0e9c521f4cdc788a7f2335a0d98a811638a9d1.tar.bz2
Minor optimization
No need to set the pen in begin. It's always done before it's used anyway. Reviewed-by: TrustMe
Diffstat (limited to 'src')
-rw-r--r--src/plugins/gfxdrivers/directfb/qdirectfbpaintengine.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/plugins/gfxdrivers/directfb/qdirectfbpaintengine.cpp b/src/plugins/gfxdrivers/directfb/qdirectfbpaintengine.cpp
index 176c6fa..3425d08 100644
--- a/src/plugins/gfxdrivers/directfb/qdirectfbpaintengine.cpp
+++ b/src/plugins/gfxdrivers/directfb/qdirectfbpaintengine.cpp
@@ -897,7 +897,6 @@ void QDirectFBPaintEnginePrivate::begin(QPaintDevice *device)
setCompositionMode(q->state()->compositionMode());
dirtyClip = true;
setPen(q->state()->pen);
- setDFBColor(pen.color());
}
void QDirectFBPaintEnginePrivate::end()