~ubuntu-branches/ubuntu/hardy/kdebase-workspace/hardy-backports

« back to all changes in this revision

Viewing changes to libs/plasma/dataengine.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Richard A. Johnson
  • Date: 2008-05-02 23:57:34 UTC
  • mfrom: (1.2.1 upstream) (20.1.22 hardy)
  • Revision ID: james.westby@ubuntu.com-20080502235734-kwrykz4qcvunwqf4
Tags: 4:4.0.4-0ubuntu1~hardy1
* New upstream release (LP: #225994)
* Updated control file (LP: #220655)
* Updated install files

Show diffs side-by-side

added added

removed removed

Lines of Context:
252
252
    if (d->minUpdateInterval > 0 &&
253
253
        source->timeSinceLastUpdate() < d->minUpdateInterval) {
254
254
        // skip updating this source; it's been too soon
255
 
        //TODO: should we queue an update in this case? return to this
256
 
        //      once we see the results in real world usage
257
255
        //kDebug() << "internal update source is delaying" << source->timeSinceLastUpdate() << d->minUpdateInterval;
 
256
        //but fake an update so that the signalrelay that triggered this gets the data from the
 
257
        //recent update. this way we don't have to worry about queuing - the relay will send a
 
258
        //signal immediately and everyone else is undisturbed.
 
259
        source->setNeedsUpdate();
258
260
        return;
259
261
    }
260
262