Revert 25234: Even though this is not recommended, using repaint give a much better user experience when dragging the scrollbar slider. So I am changing it back. I've solved the problem leading to rev25234 thanks to the new TocModel anyway.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25305 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Abdelrazak Younes 2008-06-18 14:15:48 +00:00
parent bd569ada80
commit a7de101b64

View File

@ -898,7 +898,7 @@ void GuiWorkArea::resizeEvent(QResizeEvent * ev)
void GuiWorkArea::update(int x, int y, int w, int h)
{
viewport()->update(x, y, w, h);
viewport()->repaint(x, y, w, h);
}