diff options
author | Jan-Marek Glogowski <glogow@fbihome.de> | 2017-10-30 16:11:09 +0100 |
---|---|---|
committer | Thorsten Behrens <Thorsten.Behrens@CIB.de> | 2017-11-06 12:05:32 +0100 |
commit | efb96db1095c07155e30eac270d1ddcfb4c0fec2 (patch) | |
tree | 6adc2957313eba74bf7cf8588bbd0aa7e6b8e9ca /vcl/qt5/Qt5Widget.cxx | |
parent | e391db0974d6c3a8188b883a0927bed339436fbc (diff) |
QT5 implement Graphics damage tracking
Since we implement SalGraphics handling like the gtk3 backend, we
need damage tracking to queue updates.
Since there is no native damage tracking in Qt5, we have to log
the damage in our subclassed QPainter, which will queue an update
on destruction.
Change-Id: Ife17770750a5be9959c2fc2633b422908d196869
Diffstat (limited to 'vcl/qt5/Qt5Widget.cxx')
-rw-r--r-- | vcl/qt5/Qt5Widget.cxx | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/vcl/qt5/Qt5Widget.cxx b/vcl/qt5/Qt5Widget.cxx index 90ef68e9e9a7..195b5f2b341e 100644 --- a/vcl/qt5/Qt5Widget.cxx +++ b/vcl/qt5/Qt5Widget.cxx @@ -55,7 +55,6 @@ void Qt5Widget::paintEvent( QPaintEvent *pEvent ) QImage aImage( cairo_image_surface_get_data( pSurface ), size().width(), size().height(), Qt5_DefaultFormat32 ); - p.drawImage( QPoint( 0, 0 ), aImage ); p.drawImage( pEvent->rect().topLeft(), aImage, pEvent->rect() ); } else |