[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdelibs/khtml/rendering
From:       Germain Garand <germain () ebooksfrance ! org>
Date:       2010-02-22 19:12:37
Message-ID: 1266865957.346696.993.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 1094433 by ggarand:

no need to repaint if we have no dimensions
(since that in turn could trigger an unneeded repaint of our parent)

 M  +2 -1      render_container.cpp  


--- trunk/KDE/kdelibs/khtml/rendering/render_container.cpp #1094432:1094433
@@ -156,7 +156,8 @@
 
         // Repaint, so that the area exposed when the child
         // disappears gets repainted properly.
-        oldChild->repaint();
+        if (oldChild->height() && oldChild->width())
+            oldChild->repaint();
     }
     
     // detach the place holder box
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic