[Kst] kdeextragear-2/kst/kst

George Staikos staikos at kde.org
Thu Aug 12 05:56:07 CEST 2004


CVS commit by staikos: 

check for symbol first to avoid warning
CCMAIL: 87014-done at bugs.kde.org


  M +3 -1      pluginloader.cpp   1.12


--- kdeextragear-2/kst/kst/pluginloader.cpp  #1.11:1.12
@@ -72,5 +72,7 @@ Plugin *PluginLoader::loadPlugin(const Q
 
   plug->_symbol = plug->_lib->symbol(plug->_data._name.latin1());
+  if (plug->_lib->hasSymbol("parameterName")) {
   plug->_parameterName = plug->_lib->symbol("parameterName");
+  }
 
   if (!plug->_symbol) {





More information about the Kst mailing list