[Kst] kdeextragear-2/kst/kst
George Staikos
staikos at kde.org
Fri Sep 24 08:25:08 CEST 2004
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 at 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