[Kst] branches/work/kst/pluginify/kst/src/libkstmath
Adam Treat
treat at kde.org
Tue Sep 12 22:27:48 CEST 2006
SVN commit 583623 by treat:
* Might as well use the kst debugging facilities
M +3 -3 kstdataobject.cpp
--- branches/work/kst/pluginify/kst/src/libkstmath/kstdataobject.cpp #583622:583623
@@ -103,11 +103,11 @@
QStringList(), &err );
if ( object ) {
pluginInfo.insert( service->name(), KstDataObjectPtr( object ) );
- kdDebug() << "SUCCESS! " << service->name() << endl;
+
+ KstDebug::self()->log(i18n("Loaded data-object plugin %1.").arg(service->name()));
}
else {
- kdDebug() << "FAILURE! " << k_funcinfo << " " << service->name() << " error=" << err << endl;
- kdDebug() << "KLibLoader::lastErrorMessage! " << KLibLoader::self()->lastErrorMessage() << endl;
+ KstDebug::self()->log(i18n("Could't load data-object plugin %1.").arg(service->name()), KstDebug::Error);
}
return object;
}
More information about the Kst
mailing list