[Kde-imaging] kdeextragear-libs-1/libkipi/libkipi

Renchi Raju renchi at pooh.tam.uiuc.edu
Fri Jul 9 16:02:39 CEST 2004


CVS commit by pahlibar: 


if a plugin is in the ignore list for a host, absolutely do not load
the plugin.

CCMAIL: kde-imaging at kde.org, blackie at blackie.dk


  M +4 -5      pluginloader.cpp   1.11


--- kdeextragear-libs-1/libkipi/libkipi/pluginloader.cpp  #1.10:1.11
@@ -127,8 +127,7 @@ KIPI::PluginLoader::PluginLoader( const 
         }
 
-        bool loadDefault = true;
         if ( m_ignores.contains( name ) ) {
             kdDebug( 51001 ) << "KIPI::PluginLoader: plugin " << name << " was in the ignore for host application list" << endl;
-            loadDefault = false;
+            continue;
         }
 
@@ -143,5 +142,5 @@ KIPI::PluginLoader::PluginLoader( const 
         }
 
-        bool load = config->readBoolEntry( name, loadDefault );
+        bool load = config->readBoolEntry( name, true );
 
                 if (!appHasAllReqFeatures)




More information about the Kde-imaging mailing list