[Kst] [Bug 143802] Filter and fit names not consistently reported in the UI
Andrew Walker
arwalker at sumusltd.com
Tue May 8 22:36:26 CEST 2007
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.kde.org/show_bug.cgi?id=143802
arwalker sumusltd com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
------- Additional Comments From arwalker sumusltd com 2007-05-08 22:36 -------
SVN commit 662655 by arwalker:
BUG:143802 Display the readable name in the data manager for fits and filters
M +10 -2 kstcplugin.cpp
--- branches/work/kst/1.5/kst/src/libkstmath/kstcplugin.cpp #662654:662655
@ -528,10 +528,18 @
QString KstCPlugin::propertyString() const {
+ QString str;
+
if (!isValid()) {
- return i18n("Invalid plugin.");
+ str = i18n("Invalid plugin.");
+ } else {
+ str = plugin()->data()._readableName;
+ if (str.isEmpty()) {
+ str = plugin()->data()._name;
+ }
}
- return plugin()->data()._name;
+
+ return str;
}
More information about the Kst
mailing list