QTfrontend/frameTeam.cpp
changeset 1178 62724f4bbb96
parent 1078 8f891269392f
child 1179 bdf8b68b1dd1
--- a/QTfrontend/frameTeam.cpp	Fri Aug 08 13:11:41 2008 +0000
+++ b/QTfrontend/frameTeam.cpp	Fri Aug 08 13:43:24 2008 +0000
@@ -78,7 +78,7 @@
   tmapTeamToWidget::iterator it=teamToWidget.find(team);
   if(it==teamToWidget.end()) return;
   mainLayout.removeWidget(it.value());
-  delete it.value();
+  it.value()->deleteLater();
   teamToWidget.erase(it);
 }