This needs to be changed too
authorunc0rr
Fri, 08 Aug 2008 13:46:12 +0000
changeset 1179 bdf8b68b1dd1
parent 1178 62724f4bbb96
child 1180 e56317fdf78d
This needs to be changed too
QTfrontend/frameTeam.cpp
--- 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++);
   }
 }