From f8110b8b60a6c495d085b716ff3fcd3e8c22b58e Mon Sep 17 00:00:00 2001 From: Abdelrazak Younes Date: Thu, 12 Jun 2008 15:25:17 +0000 Subject: [PATCH] Fix another recursive repaint problem with Qt4.4 when erasing a section text with backspace while the Outline is opened. This should in principle not affect drawing but X11 testing with autorepeat key is required. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25234 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/frontends/qt4/GuiWorkArea.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/frontends/qt4/GuiWorkArea.cpp b/src/frontends/qt4/GuiWorkArea.cpp index d87222c5c9..f1dd3b9d51 100644 --- a/src/frontends/qt4/GuiWorkArea.cpp +++ b/src/frontends/qt4/GuiWorkArea.cpp @@ -897,7 +897,7 @@ void GuiWorkArea::resizeEvent(QResizeEvent * ev) void GuiWorkArea::update(int x, int y, int w, int h) { - viewport()->repaint(x, y, w, h); + viewport()->update(x, y, w, h); }