[Kst] kdeextragear-2/kst/kst

George Staikos staikos at kde.org
Sat Jul 24 06:27:44 CEST 2004


CVS commit by staikos: 

indirect plugin requires the ability to return null from the factory, so
it needs to be handled
CCMAIL: 85593-done at bugs.kde.org


  M +3 -1      kstdatasource.cpp   1.24


--- kdeextragear-2/kst/kst/kstdatasource.cpp  #1.23:1.24
@@ -58,5 +58,7 @@ namespace KST {
           //kdDebug() << "Trying to create " << filename << " type=" << type << " with " << service->property("Name").toString() << endl;
           KstDataSource *ds = (sym)(filename, type);
+          if (ds) {
           ds->_source = service->property("Name").toString();
+          }
           //kdDebug() << (ds ? "SUCCESS" : "FAILED") << endl;
           return ds;





More information about the Kst mailing list