[Uml-devel] [CVS] update: Update of /cvsroot/uml/umbrello2/umbrello2/umbrello2

Jens Krüger jkrueger1 at users.sourceforge.net
Mon Mar 24 08:07:09 UTC 2003


Am Montag, 24. März 2003 15:28 schrieb Andrew Sutton:
> On Monday 24 March 2003 9:09 am, Jens Krueger wrote:
> > In directory sc8-pr-cvs1:/tmp/cvs-serv19640
> >
> > Modified Files:
> > 	umbrello2.cpp
> > Log Message:
> > Never ending loop removed.
>

If you tried to quit the program by selecting quit. It was the same game as in the mmgen. Do you remember?

Index: umbrello2.cpp
===================================================================
RCS file: /cvsroot/uml/umbrello2/umbrello2/umbrello2/umbrello2.cpp,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- umbrello2.cpp       23 Mar 2003 18:23:56 -0000      1.3
+++ umbrello2.cpp       24 Mar 2003 14:09:55 -0000      1.4
@@ -381,7 +381,7 @@
   KMainWindow* w;
   if(memberList)
   {
-    for(w=memberList->first(); w!=0; w=memberList->first())
+    for(w=memberList->first(); w!=0; w=memberList->next())
     {
       // only close the window if the closeEvent is accepted. If the user presses Cancel on the saveModified() dialog,
       // the window and the application stay open.


> what never ending loop?

-- 
Jens




More information about the umbrello-devel mailing list