diff options
Diffstat (limited to 'kolourpaint/patches')
-rw-r--r-- | kolourpaint/patches/doc_resize_no_flicker.diff | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kolourpaint/patches/doc_resize_no_flicker.diff b/kolourpaint/patches/doc_resize_no_flicker.diff index 821d418e..db699585 100644 --- a/kolourpaint/patches/doc_resize_no_flicker.diff +++ b/kolourpaint/patches/doc_resize_no_flicker.diff @@ -147,8 +147,8 @@ diff -u -p -r1.7 kpviewscrollablecontainer.cpp // TODO: should be "!widget->testWFlags (Qt::WRepaintNoErase)" // but for some reason, doesn't work for viewport(). const bool erase = !dynamic_cast <kpView *> (widget); -- widget->tqrepaint (redrawWidgetRect, erase); -+ widget->tqrepaint (redrawWidgetRegion, erase); +- widget->repaint (redrawWidgetRect, erase); ++ widget->repaint (redrawWidgetRegion, erase); } } |