QunatitySpinBox: Removed unused code.

This commit is contained in:
Eivind Kvedalen 2015-09-28 00:48:15 +02:00 committed by wmayer
parent cab8111292
commit 5826a6ccb3

View File

@ -303,9 +303,6 @@ void Gui::QuantitySpinBox::setExpression(boost::shared_ptr<Expression> expr)
NumberExpression * value = freecad_dynamic_cast<NumberExpression>(result.get());
if (value) {
std::stringstream s;
s << value->getValue();
lineEdit()->setText(value->getQuantity().getUserString());
setReadOnly(true);
QPixmap pixmap = getIcon(":/icons/bound-expression.svg", QSize(d_ptr->iconHeight, d_ptr->iconHeight));