From abb1427a3448c4cb8e4cfd80c0b67024dd121b6b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beno=C3=AEt=20Minisini?= Date: Mon, 26 Dec 2011 12:59:17 +0000 Subject: [PATCH] [GB.QT4] * BUG: Fix cached DrawingArea resizing. git-svn-id: svn://localhost/gambas/trunk@4336 867c0c6c-44f3-4631-809d-bfa615b0a4ec --- gb.qt4/src/CDrawingArea.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/gb.qt4/src/CDrawingArea.cpp b/gb.qt4/src/CDrawingArea.cpp index 029fc4935..2563bd359 100644 --- a/gb.qt4/src/CDrawingArea.cpp +++ b/gb.qt4/src/CDrawingArea.cpp @@ -342,6 +342,7 @@ void MyDrawingArea::updateBackground() wb = QMIN(w, _background_w); hb = QMIN(h, _background_h); + _background = 0; createBackground(w, h); GC gc = XCreateGC(QX11Info::display(), old, 0, 0);