[Kst] kdeextragear-2/kst/kst

George Staikos staikos at kde.org
Wed Jan 28 04:47:00 CET 2004


CVS commit by staikos: 

properly update the data manager on changes involving slave vectors


  M +4 -2      kstdatamanager_i.cpp   1.45
  M +1 -1      plugincollection.cpp   1.13


--- kdeextragear-2/kst/kst/kstdatamanager_i.cpp  #1.44:1.45
@@ -91,5 +91,6 @@ KstObjectItem::KstObjectItem(QListView *
       i != x->outputVectors().end();
       ++i) {
-    new KstObjectItem(this, i.data(), _dm);
+    KstObjectItem *item = new KstObjectItem(this, i.data(), _dm);
+    connect(item, SIGNAL(updated()), this, SIGNAL(updated()));
   }
   x = 0L; // keep the counts in sync
@@ -172,5 +173,6 @@ void KstObjectItem::update(bool recursiv
             }
             if (!found) {
-              new KstObjectItem(this, p.data(), _dm);
+              KstObjectItem *item = new KstObjectItem(this, p.data(), _dm);
+              connect(item, SIGNAL(updated()), this, SIGNAL(updated()));
             }
           }

--- kdeextragear-2/kst/kst/plugincollection.cpp  #1.12:1.13
@@ -212,5 +212,5 @@ void PluginCollection::scanPlugins() {
   dirs += KGlobal::dirs()->resourceDirs("kstpluginlib");
   for (QStringList::ConstIterator it = dirs.begin(); it != dirs.end(); ++it) {
-    kdDebug() << "Scanning [" << *it << "] for plugins." << endl;
+    //kdDebug() << "Scanning [" << *it << "] for plugins." << endl;
     QDir d(*it);
 





More information about the Kst mailing list