From 5826a6ccb30f0eed9a393e406032b1074e1e40e2 Mon Sep 17 00:00:00 2001 From: Eivind Kvedalen Date: Mon, 28 Sep 2015 00:48:15 +0200 Subject: [PATCH] QunatitySpinBox: Removed unused code. --- src/Gui/QuantitySpinBox.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/Gui/QuantitySpinBox.cpp b/src/Gui/QuantitySpinBox.cpp index efb6a818c..54b818ece 100644 --- a/src/Gui/QuantitySpinBox.cpp +++ b/src/Gui/QuantitySpinBox.cpp @@ -303,9 +303,6 @@ void Gui::QuantitySpinBox::setExpression(boost::shared_ptr expr) NumberExpression * value = freecad_dynamic_cast(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));