QTfrontend/frameTeam.cpp
changeset 1179 bdf8b68b1dd1
parent 1178 62724f4bbb96
child 1389 6e411559cc7b
--- a/QTfrontend/frameTeam.cpp	Fri Aug 08 13:43:24 2008 +0000
+++ b/QTfrontend/frameTeam.cpp	Fri Aug 08 13:46:12 2008 +0000
@@ -86,7 +86,7 @@
 {
   for(tmapTeamToWidget::iterator it=teamToWidget.begin(); it!=teamToWidget.end(); ) {
     mainLayout.removeWidget(it.value());
-    delete it.value();
+    it.value()->deleteLater();
     teamToWidget.erase(it++);
   }
 }