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

Ralf Habacker Ralf.Habacker at freenet.de
Thu Aug 23 06:32:59 UTC 2007


SVN commit 703731 by habacker:

msvc compile fix

 M  +2 -2      umlview.cpp  


--- trunk/KDE/kdesdk/umbrello/umbrello/umlview.cpp #703730:703731
@@ -3769,8 +3769,8 @@
 void UMLView::sortWidgetList(UMLWidgetList &widgetList, Compare comp) {
     QVector<UMLWidget*> widgetVector;
 
-    foreach ( UMLWidget* widget, widgetList ) {
-        widgetVector.push_back(widget);
+    for (UMLWidgetList::iterator it=widgetList.begin(); it != widgetList.end(); ++it) {
+        widgetVector.push_back(*it);
     }
     qSort(widgetVector.begin(), widgetVector.end(), comp);
 




More information about the umbrello-devel mailing list