[Kst] extragear/graphics/kst/kst

George Staikos staikos at kde.org
Tue Dec 20 16:39:43 CET 2005


SVN commit 490040 by staikos:

Does this help?  I still can't reproduce it so I'm guessing.
CCBUG: 118696


 M  +4 -3      kstchangenptsdialog_i.cpp  


--- trunk/extragear/graphics/kst/kst/kstchangenptsdialog_i.cpp #490039:490040
@@ -175,10 +175,11 @@
     if (CurveList->isSelected(i)) {
       KstRVectorPtr vector = rvl[i]; // FIXME: broken
       vector->readLock();
-      vector->dataSource()->readLock();
-      supportsTime = vector->dataSource()->supportsTimeConversions();
-      vector->dataSource()->readUnlock();
+      KstDataSourcePtr ds = vector->dataSource();
       vector->readUnlock();
+      ds->readLock();
+      supportsTime = ds->supportsTimeConversions();
+      ds->readUnlock();
       if (!supportsTime) {
         break;
       }


More information about the Kst mailing list