diff options
author | Anders Bakken <anders.bakken@nokia.com> | 2009-06-22 03:44:26 (GMT) |
---|---|---|
committer | Anders Bakken <anders.bakken@nokia.com> | 2009-06-22 03:44:26 (GMT) |
commit | 3d0e9c521f4cdc788a7f2335a0d98a811638a9d1 (patch) | |
tree | 9e5463833db2244dc3489918ff32d8a156a702eb /src/plugins | |
parent | 70db717f8a6bbdb52ea22feacf2ced4fbea8fd1c (diff) | |
download | Qt-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/plugins')
-rw-r--r-- | src/plugins/gfxdrivers/directfb/qdirectfbpaintengine.cpp | 1 |
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() |