Author: mir3x
Date: Sun Aug  7 18:03:03 2016
New Revision: 33497

URL: http://svn.gna.org/viewcvs/freeciv?rev=33497&view=rev
Log:
Qt client - Failed to draw map on some circumstances.
Reported by Jacob Nevins <jtn>

See bug #24860


Modified:
    branches/S2_6/client/gui-qt/fc_client.cpp
    branches/S2_6/client/gui-qt/mapview.cpp

Modified: branches/S2_6/client/gui-qt/fc_client.cpp
URL: 
http://svn.gna.org/viewcvs/freeciv/branches/S2_6/client/gui-qt/fc_client.cpp?rev=33497&r1=33496&r2=33497&view=diff
==============================================================================
--- branches/S2_6/client/gui-qt/fc_client.cpp   (original)
+++ branches/S2_6/client/gui-qt/fc_client.cpp   Sun Aug  7 18:03:03 2016
@@ -312,10 +312,6 @@
     if (gui_options.gui_qt_fullscreen){
       gui()->showFullScreen();
       gui()->mapview_wdg->showFullScreen();
-    } else {
-      if (!isMaximized()) {
-        showMaximized();
-      }
     }
     menuBar()->setVisible(true);
     mapview_wdg->setFocus();

Modified: branches/S2_6/client/gui-qt/mapview.cpp
URL: 
http://svn.gna.org/viewcvs/freeciv/branches/S2_6/client/gui-qt/mapview.cpp?rev=33497&r1=33496&r2=33497&view=diff
==============================================================================
--- branches/S2_6/client/gui-qt/mapview.cpp     (original)
+++ branches/S2_6/client/gui-qt/mapview.cpp     Sun Aug  7 18:03:03 2016
@@ -222,6 +222,7 @@
   QTimer *timer = new QTimer(this);
   connect(timer, SIGNAL(timeout()), this, SLOT(timer_event()));
   timer->start(200);
+  resize(0, 0);
   setMouseTracking(true);
 }
 


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

Reply via email to