[Uml-devel] kdesdk/umbrello/umbrello

Oliver Kellogg okellogg at users.sourceforge.net
Wed Jul 7 19:52:06 UTC 2004


CVS commit by okellogg: 

Remove commented code.


  M +0 -19     umlview.cpp   1.148


--- kdesdk/umbrello/umbrello/umlview.cpp  #1.147:1.148
@@ -500,23 +500,4 @@ void UMLView::slotObjectRemoved(UMLObjec
                         continue;
                 removeWidget(obj);
-
-                // Following lines temporarily commented out due to crashes.
-                /* Update list; removing a widget will also delete the associations
-                 * connected to it; so we have to update the list, because other
-                 * widgets might be already deleted
-                QObjectList * currentList = queryList("UMLWidget");
-                QObjectListIt OldListIt(*l);
-
-                while ((obj = (UMLWidget*)OldListIt.current()) != 0)
-                {
-                        ++OldListIt;
-                        if (!currentList->contains(obj))
-                        {
-                                l->remove(obj);
-                        }
-                }
-                it.toFirst();
-                delete currentList;
-                 */
         }
 }






More information about the umbrello-devel mailing list