Author: mir3x
Date: Thu Oct 27 21:26:21 2016
New Revision: 34265

URL: http://svn.gna.org/viewcvs/freeciv?rev=34265&view=rev
Log:
Qt client -fixed crash when reloading sidebar pixmaps from PAGE MAIN

See bug #25229

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

Modified: branches/S2_6/client/gui-qt/sidebar.cpp
URL: 
http://svn.gna.org/viewcvs/freeciv/branches/S2_6/client/gui-qt/sidebar.cpp?rev=34265&r1=34264&r2=34265&view=diff
==============================================================================
--- branches/S2_6/client/gui-qt/sidebar.cpp     (original)
+++ branches/S2_6/client/gui-qt/sidebar.cpp     Thu Oct 27 21:26:21 2016
@@ -68,6 +68,7 @@
   wheel_down = nullptr;
   wheel_up = nullptr;
   page = pg;
+  def_pixmap = nullptr;
   setContextMenuPolicy(Qt::CustomContextMenu);
   timer = new QTimer;
   timer->setSingleShot(false);


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

Reply via email to