Bug 87014

Summary: error printed to konsole when opening filter dialog
Product: [Applications] kst Reporter: Netterfield <netterfield>
Component: generalAssignee: kst
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: 1.x   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:

Description Netterfield 2004-08-12 05:12:16 UTC
Version:           0.99-devel (using KDE 3.2 BRANCH >= 20040204, Mandrake Linux Cooker i586 - Cooker)
Compiler:          gcc version 3.3.2 (Mandrake Linux 10.0 3.3.2-6mdk)
OS:                Linux (i686) release 2.6.3-7mdk

when showing the filter dialog from plot->rmb->filter->curvename, the following message is dumped to the konsole:
kdecore (KLibLoader): WARNING: KLibrary: /usr/lib/libkdecore.so.4: undefined symbol: parame
terName

Correct Behavior: no warning messages.
Comment 1 George Staikos 2004-08-12 05:56:12 UTC
CVS commit by staikos: 

check for symbol first to avoid warning
CCMAIL: 87014-done@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) {