if the source is new, but comes with data, we need to do an update immediately
svn path=/trunk/KDE/kdelibs/; revision=1116989
This commit is contained in:
parent
b80b091db4
commit
43240c4c19
@ -97,6 +97,9 @@ void DataEngine::connectSource(const QString &source, QObject *visualization,
|
||||
// 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)
|
||||
if (newSource && !s->data().isEmpty()) {
|
||||
newSource = false;
|
||||
}
|
||||
d->connectSource(s, visualization, pollingInterval, intervalAlignment,
|
||||
!newSource || pollingInterval > 0);
|
||||
//kDebug() << " ==> source connected";
|
||||
|
Loading…
Reference in New Issue
Block a user