- Fix Qt's runtime warning
authorunc0rr
Fri, 08 Aug 2008 13:43:24 +0000
changeset 1178 62724f4bbb96
parent 1177 fd1548b994fa
child 1179 bdf8b68b1dd1
- Fix Qt's runtime warning - This fix probably eliminates network problems
QTfrontend/frameTeam.cpp
--- 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);
 }