Materials: Clean up unused variables
Updated error messages no longer refer to the exception object, resulting in compiler warnings.
This commit is contained in:
committed by
Benjamin Nauck
parent
87f3d6bb40
commit
5aa21132b8
@@ -148,7 +148,7 @@ void MaterialDelegate::setValue(QAbstractItemModel* model,
|
||||
try {
|
||||
property->setValue(value);
|
||||
}
|
||||
catch (const Base::ValueError& e) {
|
||||
catch (const Base::ValueError&) {
|
||||
// Units mismatch
|
||||
auto quantity = value.value<Base::Quantity>();
|
||||
Base::Console().log("Units mismatch '%s' = '%s', "
|
||||
|
||||
Reference in New Issue
Block a user