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();