}
-void RoidsEditView::slotValueChanged( const QString & s )
+void RoidsEditView::slotValueChanged()
{
QString type = sender()->name();
else if (type == "ScoreEdit")
type = tr("score");
test = type;
- emit changed(type, s.toInt());
+ const QLineEdit *le = dynamic_cast<const QLineEdit*>(sender());
+ if (le)
+ emit changed(type, le->text().toInt());
}