[Uml-devel] kdesdk/umbrello/umbrello

Luis De la Parra Blum lparrab at gmx.net
Thu Apr 3 14:29:05 UTC 2003


CVS commit by luis: 

call UMLApp::app() to get an instance of our application, instead of
casting parent(), or calling UMLDoc::getUMLApp() or UMLView::getUMLApp()

reason: not all objects have a reference to the doc or view, and casting
parent()->parent()->parent() can be dangerous if you are not sure which many
levels under the application you are


  M +2 -2      listpopupmenu.cpp   1.20
  M +13 -18    umldoc.cpp   1.33
  M +0 -5      umldoc.h   1.18
  M +5 -8      umlview.cpp   1.49
  M +0 -4      umlview.h   1.20







More information about the umbrello-devel mailing list