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

List:       kde-commits
Subject:    branches/extragear/kde3/graphics/kst/src/libkstapp
From:       Andrew Walker <arwalker () sumusltd ! com>
Date:       2009-09-30 23:52:19
Message-ID: 1254354739.721350.22354.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 1029881 by arwalker:

BUG:208832 fix threading problem with updating and plotting of vectors

 M  +2 -0      kst2dplot.cpp  


--- branches/extragear/kde3/graphics/kst/src/libkstapp/kst2dplot.cpp #1029880:1029881
@@ -2899,7 +2899,9 @@
     }
     p.setClipRect(int(Lx), int(Ly), int(Hx - Lx), int(Hy - Ly), QPainter::CoordPainter);
     for (KstBaseCurveList::Iterator i = Curves.begin(); i != Curves.end(); ++i) {
+      (*i)->writeLock();
       (*i)->paint(context);
+      (*i)->unlock();
     }
     p.restore();
 
[prev in list] [next in list] [prev in thread] [next in thread] 

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