From 9bd14086dd3666d43c77a82c3e724e775a8fbe96 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beno=C3=AEt=20Minisini?= Date: Fri, 23 Dec 2011 01:05:51 +0000 Subject: [PATCH] [GB.QT4] * BUG: Don't raise the Draw event when calling the Refresh method on a cached DrawingArea. git-svn-id: svn://localhost/gambas/trunk@4321 867c0c6c-44f3-4631-809d-bfa615b0a4ec --- gb.qt4/src/CDrawingArea.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gb.qt4/src/CDrawingArea.cpp b/gb.qt4/src/CDrawingArea.cpp index 9a650fee4..029fc4935 100644 --- a/gb.qt4/src/CDrawingArea.cpp +++ b/gb.qt4/src/CDrawingArea.cpp @@ -542,7 +542,7 @@ BEGIN_METHOD(DrawingArea_Refresh, GB_INTEGER x; GB_INTEGER y; GB_INTEGER w; GB_I int x, y, w, h; - if (WIDGET->isCached()) + /*if (WIDGET->isCached()) { QRect r; @@ -552,7 +552,7 @@ BEGIN_METHOD(DrawingArea_Refresh, GB_INTEGER x; GB_INTEGER y; GB_INTEGER w; GB_I r.setRect(0, 0, WIDGET->width(), WIDGET->height()); WIDGET->redraw(r, false); - } + }*/ if (!MISSING(x) && !MISSING(y)) {