[Gui] fix unreferenced local variable warning

- fixes: warning C4101: 'e': unreferenced local variable
This commit is contained in:
Uwe
2022-07-27 01:35:08 +02:00
parent 4f1fbb5a0e
commit 5b25c97589

View File

@@ -652,7 +652,7 @@ void InputField::focusOutEvent(QFocusEvent *event)
actQuantity = actQuantity * factor;
}
}
catch (const Base::ParserError& e) {
catch (const Base::ParserError&) {
// do nothing, let apply the last known good value
}
this->setText(actQuantity.getUserString());