Commit 3781fa1b authored by Ralf Habacker's avatar Ralf Habacker
Browse files

Remove unused code

parent 023944d8
......@@ -1246,31 +1246,6 @@ void ClassifierWidget::changeToPackage()
update();
}
/**
* Extends base method to adjust also the association of a class
* association.
* Executes the base method and then, if file isn't loading and the
* classifier acts as a class association, the association position is
* updated.
* TODO: This is never called.
*
* param x The x-coordinate.
* param y The y-coordinate.
*/
//void ClassifierWidget::adjustAssociations(int x, int y)
//{
// DEBUG(DBG_SRC) << "x=" << x << " / y=" << y;
// UMLWidget::adjustAssocs(x, y);
// if (m_doc->loading() || m_pAssocWidget == 0) {
// return;
// }
// //:TODO: the following is also called from UMLWidgetr::ajdustAssocs(...)
// // and then AssociationWidget::widgetMoved(...)
// //m_pAssocWidget->computeAssocClassLine();
//}
/**
* Loads the "classwidget" or "interfacewidget" XML element.
*/
......
......@@ -91,7 +91,6 @@ public:
AssociationWidget *classAssociationWidget() const;
void setClassAssociationWidget(AssociationWidget *assocwidget);
// virtual void adjustAssociations(int x, int y);
UMLWidget* onWidget(const QPointF& p);
UMLWidget* widgetWithID(Uml::ID::Type id);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment