diff options
author | Anders Bakken <anders.bakken@nokia.com> | 2009-07-28 13:13:26 -0700 |
---|---|---|
committer | Anders Bakken <anders.bakken@nokia.com> | 2009-07-28 13:22:20 -0700 |
commit | 4caf5c1568163aa8efbfabb69ef0d83c3c6efd0a (patch) | |
tree | 8b17de2ad430d79726258fbeae3723b9e71b69b2 /src/plugins/gfxdrivers/directfb/qdirectfbwindowsurface.h | |
parent | a1c4e70ddb04e364d89bfd39a409c4bcbe0019e4 (diff) |
Fix crash in when resizing directfb windows
Since QRasterPaintEngine::baseClip was initialized when the
QDirectFBPaintEngine was created and the paintengine persists for the
window surface we run the risk that the baseClip is of the wrong size.
This could lead to crashes and erroneous clipping.
Reviewed-by: Donald <qt-info@nokia.com>
Diffstat (limited to 'src/plugins/gfxdrivers/directfb/qdirectfbwindowsurface.h')
-rw-r--r-- | src/plugins/gfxdrivers/directfb/qdirectfbwindowsurface.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/gfxdrivers/directfb/qdirectfbwindowsurface.h b/src/plugins/gfxdrivers/directfb/qdirectfbwindowsurface.h index c46d93bf40..cd88acaaed 100644 --- a/src/plugins/gfxdrivers/directfb/qdirectfbwindowsurface.h +++ b/src/plugins/gfxdrivers/directfb/qdirectfbwindowsurface.h @@ -93,6 +93,7 @@ private: IDirectFBWindow *dfbWindow; #endif QDirectFBPaintEngine *engine; + int engineHeight; enum Mode { Primary, |