call the dataUpdated method if a delayed update is requested. fixes clocks.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=734094
This commit is contained in:
parent
834ece1ae6
commit
faaaf298a7
@ -199,7 +199,10 @@ void DataEngine::connectSource(const QString& source, QObject* visualization,
|
||||
DataContainer* s = d->requestSource(source, &newSource);
|
||||
|
||||
if (s) {
|
||||
d->connectSource(s, visualization, updateInterval, intervalAlignment, !newSource);
|
||||
// we suppress the immediate invocation of dataUpdated here if the source was prexisting and they
|
||||
// don't request delayed updates (we want to do an immediate update in that case so they
|
||||
// don't have to wait for the first time out)
|
||||
d->connectSource(s, visualization, updateInterval, intervalAlignment, !newSource || updateInterval > 0);
|
||||
//kDebug() << " ==> source connected";
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user