diff options
author | Alex Cucos <alex@bluetree.ie> | 2009-06-08 14:29:18 (GMT) |
---|---|---|
committer | Tom Cooksey <thomas.cooksey@nokia.com> | 2009-06-08 14:29:18 (GMT) |
commit | 4336436b8113d6a80428d70beda40a89713d04db (patch) | |
tree | 37a317239e7d1535a922cb38579556e2679ca4f8 /src/gui/graphicsview/qgraphicsscene.cpp | |
parent | 168f75927390d4ab726870946d60604abf994654 (diff) | |
download | Qt-4336436b8113d6a80428d70beda40a89713d04db.zip Qt-4336436b8113d6a80428d70beda40a89713d04db.tar.gz Qt-4336436b8113d6a80428d70beda40a89713d04db.tar.bz2 |
Clip region to screen coordinates before setting its component rectangles dirty.
When using Qt/E with VNC screen driver on top of the Linux framebuffer
(export QWS_DISPLAY="VNC:LinuxFb") the region to be exposed needs be clipped
to the real screen to avoid possible negative coordinates which in turn
cause access to invalid memory locations when comparing the content of the
VNC buffer with the Linux framebuffer.
Merge-request: 603
Reviewed-by: Tom Cooksey <thomas.cooksey@nokia.com>
Diffstat (limited to 'src/gui/graphicsview/qgraphicsscene.cpp')
0 files changed, 0 insertions, 0 deletions