[Kst] [Bug 118696] "Change data sample ranges" dialog freezes kst with some datasources
George Staikos
staikos at kde.org
Tue Dec 20 16:39:55 CET 2005
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.kde.org/show_bug.cgi?id=118696
------- Additional Comments From staikos kde org 2005-12-20 16:39 -------
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