Author: mir3x
Date: Thu Nov  3 09:08:29 2016
New Revision: 34347

URL: http://svn.gna.org/viewcvs/freeciv?rev=34347&view=rev
Log:
Qt client: Fixed slow map redrawing
Reported by Louis Moureaux <louis94>

See bug #25252

Modified:
    branches/S2_6/client/gui-qt/hudwidget.cpp

Modified: branches/S2_6/client/gui-qt/hudwidget.cpp
URL: 
http://svn.gna.org/viewcvs/freeciv/branches/S2_6/client/gui-qt/hudwidget.cpp?rev=34347&r1=34346&r2=34347&view=diff
==============================================================================
--- branches/S2_6/client/gui-qt/hudwidget.cpp   (original)
+++ branches/S2_6/client/gui-qt/hudwidget.cpp   Thu Nov  3 09:08:29 2016
@@ -895,6 +895,7 @@
   for (j = 0; j < i; j++) {
     ui = actions[j];
     layout->removeWidget(ui);
+    delete ui;
   }
   while (!actions.empty()) {
     actions.removeFirst();


_______________________________________________
Freeciv-commits mailing list
Freeciv-commits@gna.org
https://mail.gna.org/listinfo/freeciv-commits

Reply via email to