Bug 87014 - error printed to konsole when opening filter dialog
Summary: error printed to konsole when opening filter dialog
Status: RESOLVED FIXED
Alias: None
Product: kst
Classification: Applications
Component: general (show other bugs)
Version: 1.x
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: kst
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-12 05:12 UTC by Netterfield
Modified: 2004-08-12 05:56 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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) {