ViewProviderDimension: remove unused function
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
@@ -80,7 +80,6 @@ public:
|
||||
double prefFontSize() const;
|
||||
double prefWeight() const;
|
||||
int prefStandardAndStyle() const;
|
||||
virtual bool canDelete(App::DocumentObject* obj) const;
|
||||
|
||||
protected:
|
||||
virtual void handleChangedPropertyType(Base::XMLReader &reader, const char *TypeName, App::Property * prop);
|
||||
|
||||
Reference in New Issue
Block a user