Author: mir3x Date: Thu Dec 24 09:24:04 2015 New Revision: 31175 URL: http://svn.gna.org/viewcvs/freeciv?rev=31175&view=rev Log: Hide end turn button, tax indicators, and other indicators for global observer.
See patch #6698 Modified: trunk/client/gui-qt/mapview.cpp Modified: trunk/client/gui-qt/mapview.cpp URL: http://svn.gna.org/viewcvs/freeciv/trunk/client/gui-qt/mapview.cpp?rev=31175&r1=31174&r2=31175&view=diff ============================================================================== --- trunk/client/gui-qt/mapview.cpp (original) +++ trunk/client/gui-qt/mapview.cpp Thu Dec 24 09:24:04 2015 @@ -1123,7 +1123,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