]> git.lyx.org Git - lyx.git/commitdiff
Revert 25234: Even though this is not recommended, using repaint give a much better...
authorAbdelrazak Younes <younes@lyx.org>
Wed, 18 Jun 2008 14:15:48 +0000 (14:15 +0000)
committerAbdelrazak Younes <younes@lyx.org>
Wed, 18 Jun 2008 14:15:48 +0000 (14:15 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25305 a592a061-630c-0410-9148-cb99ea01b6c8

src/frontends/qt4/GuiWorkArea.cpp

index 7fafe934d5f9200eed01f1620958b69ccc71abfc..b4e449addb8e2b1dba5241230053990332070d0f 100644 (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);
 }