[Kst] extragear/graphics/kst/src/libkstapp
Eli Fidler
eli at staikos.net
Tue Feb 6 17:44:29 CET 2007
SVN commit 630879 by fidler:
inputs shouldn't be in the plugin namespace
this is a further fix to bug 141054
M +2 -2 kstplugindialog_i.cpp
--- trunk/extragear/graphics/kst/src/libkstapp/kstplugindialog_i.cpp #630878:630879
@@ -408,7 +408,7 @@
KstStringPtr s = *KST::stringList.findTag(ss->selectedString());
if (s == *KST::stringList.end()) {
QString val = ss->_string->currentText();
- KstStringPtr newString = new KstString(KstObjectTag(ss->_string->currentText(), plugin->tag()), 0L, val, true);
+ KstStringPtr newString = new KstString(KstObjectTag::fromString(ss->_string->currentText()), 0L, val, true);
plugin->inputStrings().insert((*it)._name, newString);
} else {
plugin->inputStrings().insert((*it)._name, s);
@@ -426,7 +426,7 @@
double val = ss->_scalar->currentText().toDouble(&ok);
if (ok) {
- KstScalarPtr newScalar = new KstScalar(KstObjectTag(ss->_scalar->currentText(), plugin->tag()), 0L, val, true, false);
+ KstScalarPtr newScalar = new KstScalar(KstObjectTag::fromString(ss->_scalar->currentText()), 0L, val, true, false);
plugin->inputScalars().insert((*it)._name, newScalar);
} else {
plugin->inputScalars().insert((*it)._name, s);
More information about the Kst
mailing list