ViewProviderDimension: remove unused function

This commit is contained in:
donovaly
2020-03-03 04:03:02 +01:00
committed by WandererFan
parent 76daaf1863
commit dc94f25fd4
2 changed files with 0 additions and 10 deletions

View File

@@ -221,12 +221,3 @@ void ViewProviderDimension::handleChangedPropertyType(Base::XMLReader &reader, c
LineWidth.setValue(LineWidthProperty.getValue());
}
}
bool ViewProviderDimension::canDelete(App::DocumentObject *obj) const
{
// deletions of objects from a ProjGroupItem don't necesarily destroy anything
// thus we can pass this action
// we can warn the user if necessary in the object's ViewProvider in the onDelete() function
Q_UNUSED(obj)
return true;
}