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

List:       kde-commits
Subject:    branches/kdepim/enterprise4/kdepim/korganizer
From:       Volker Krause <vkrause () kde ! org>
Date:       2008-09-24 20:36:14
Message-ID: 1222288574.360760.493.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 864471 by vkrause:

Backport SVN commit 862635 by thiago from trunk:

Never call repaint from inside a paintEvent. Recursive paint is not
allowed.


Fixes a crash in the side-by-side view, not needed in 4.1 branch.


 M  +1 -1      koagendaitem.cpp  


--- branches/kdepim/enterprise4/kdepim/korganizer/koagendaitem.cpp #864470:864471
@@ -755,7 +755,7 @@
   // to the newly visible area, which is a problem since the content changes when visRect
   // changes, so repaint the full item in that case
   if ( ev->rect() != visRect && visRect.isValid() && ev->rect().isValid() ) {
-    repaint( visRect );
+    update( visRect );
     return;
   }
 
[prev in list] [next in list] [prev in thread] [next in thread] 

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