[Kst] extragear/graphics/kst/src/libkstapp

George Staikos staikos at kde.org
Sat Sep 16 01:35:48 CEST 2006


SVN commit 584991 by staikos:

align with 1.3


 M  +5 -3      extensionmgr.cpp  


--- trunk/extragear/graphics/kst/src/libkstapp/extensionmgr.cpp #584990:584991
@@ -77,14 +77,16 @@
   // extensions as they are handled automatically...
 }
 
+
 KstExtension *ExtensionMgr::extension(const QString& name) const {
   QMap<QString,KstExtension*>::ConstIterator i = _registry.find(name);
-  if (i != _registry.end())
+  if (i != _registry.end()) {
     return *i;
-  else
-    return 0;
+  }
+  return 0L;
 }
 
+
 void ExtensionMgr::loadExtension(const QString& name) {
   KService::List sl = KServiceType::offers("Kst Extension");
   for (KService::List::ConstIterator it = sl.begin(); it != sl.end(); ++it) {


More information about the Kst mailing list