[Uml-devel] KDE/kdesdk/umbrello/umbrello

Oliver Kellogg okellogg at users.sourceforge.net
Tue Jul 3 05:25:37 UTC 2007


SVN commit 682542 by okellogg:

umbrellify(): clean() the value returned for the "stereotype" attribute in the PetalNode.


 M  +1 -1      petaltree2uml.cpp  


--- trunk/KDE/kdesdk/umbrello/umbrello/petaltree2uml.cpp #682541:682542
@@ -504,7 +504,7 @@
         Uml::ListView_Type lvType = folderType(parent);
         item = new UMLListViewItem( parent, name, lvType, id );
     } else if (objType == "Class") {
-        QString stereotype = node->findAttribute("stereotype").string;
+        QString stereotype = clean(node->findAttribute("stereotype").string);
         if (stereotype == "Actor") {
             UMLActor *act = new UMLActor(name, id);
             item = new UMLListViewItem(parent, name, Uml::lvt_Actor, act);




More information about the umbrello-devel mailing list