[Kst] [Bug 89844] New data are loaded when paused if you edit plots
George Staikos
staikos at kde.org
Fri Sep 24 08:25:12 CEST 2004
------- 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=89844
------- Additional Comments From staikos kde org 2004-09-24 08:25 -------
CVS commit by staikos:
Does this solve the update issues? If so, are there any conceivable cases
where we would still want to be able to force an update of data sources?
CCMAIL: 89844 bugs kde org
M +12 -10 updatethread.cpp 1.28
--- kdeextragear-2/kst/kst/updatethread.cpp #1.27:1.28
@ -138,4 +138,5 @ bool UpdateThread::doUpdates(bool force,
// Update the files
+ if (!_paused) { // don't update even if paused && force
KST::dataSourceList.lock().readLock();
unsigned cnt = KST::dataSourceList.count();
@ -145,5 +146,5 @ bool UpdateThread::doUpdates(bool force,
dsp->update();
- if (_done || (_paused && !force)) {
+ if (_done) {
KST::dataSourceList.lock().readUnlock();
#if UPDATEDEBUG > 1
@ -154,4 +155,5 @ bool UpdateThread::doUpdates(bool force,
}
KST::dataSourceList.lock().readUnlock();
+ }
{ // scope to destroy the temporary list
More information about the Kst
mailing list