[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    branches/KDE/4.4/kdelibs/plasma
From:       Aaron J. Seigo <aseigo () kde ! org>
Date:       2010-04-20 19:53:17
Message-ID: 20100420195317.1374AAC89E () svn ! kde ! org
[Download RAW message or body]

SVN commit 1116991 by aseigo:

if the source is new, but comes with data, we need to do an update immediately


 M  +3 -0      dataengine.cpp  


--- branches/KDE/4.4/kdelibs/plasma/dataengine.cpp #1116990:1116991
@@ -97,6 +97,9 @@
         // 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";
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic