Author: mir3x
Date: Thu Dec 24 09:24:23 2015
New Revision: 31177

URL: http://svn.gna.org/viewcvs/freeciv?rev=31177&view=rev
Log:
Hide end turn button, tax indicators, and other indicators for global observer. 

See patch #6698


Modified:
    branches/S2_5/client/gui-qt/mapview.cpp

Modified: branches/S2_5/client/gui-qt/mapview.cpp
URL: 
http://svn.gna.org/viewcvs/freeciv/branches/S2_5/client/gui-qt/mapview.cpp?rev=31177&r1=31176&r2=31177&view=diff
==============================================================================
--- branches/S2_5/client/gui-qt/mapview.cpp     (original)
+++ branches/S2_5/client/gui-qt/mapview.cpp     Thu Dec 24 09:24:23 2015
@@ -1118,7 +1118,10 @@
   QFontMetrics fm(etb_button->font());
 
   if (client_is_global_observer()) {
+    hide();
     return;
+  } else {
+    show();
   }
   // Update tax rates
   sprite = get_tax_sprite(tileset, O_LUXURY);


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

Reply via email to