summaryrefslogtreecommitdiffstats
path: root/kolourpaint/kpviewscrollablecontainer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kolourpaint/kpviewscrollablecontainer.cpp')
-rw-r--r--kolourpaint/kpviewscrollablecontainer.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kolourpaint/kpviewscrollablecontainer.cpp b/kolourpaint/kpviewscrollablecontainer.cpp
index c632b814..80e9d9e7 100644
--- a/kolourpaint/kpviewscrollablecontainer.cpp
+++ b/kolourpaint/kpviewscrollablecontainer.cpp
@@ -663,7 +663,7 @@ void kpViewScrollableContainer::repaintWidgetAtResizeLineViewRect (
// TODO: should be "!widget->testWFlags (TQt::WRepaintNoErase)"
// but for some reason, doesn't work for viewport().
const bool erase = !dynamic_cast <kpView *> (widget);
- widget->tqrepaint (redrawWidgetRect, erase);
+ widget->repaint (redrawWidgetRect, erase);
}
}
@@ -1269,7 +1269,7 @@ bool kpViewScrollableContainer::slotDragScroll (bool *didSomething)
// Repaint newly exposed region immediately to reduce tearing
// of scrollView.
- m_view->tqrepaint (region, false/*no erase*/);
+ m_view->repaint (region, false/*no erase*/);
}
}