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