Author: mir3x Date: Fri Nov 20 17:12:21 2015 New Revision: 30708 URL: http://svn.gna.org/viewcvs/freeciv?rev=30708&view=rev Log: After starting game, map view could be maximized 2 times.
See bug #24061 Modified: branches/S2_5/client/gui-qt/fc_client.cpp Modified: branches/S2_5/client/gui-qt/fc_client.cpp URL: http://svn.gna.org/viewcvs/freeciv/branches/S2_5/client/gui-qt/fc_client.cpp?rev=30708&r1=30707&r2=30708&view=diff ============================================================================== --- branches/S2_5/client/gui-qt/fc_client.cpp (original) +++ branches/S2_5/client/gui-qt/fc_client.cpp Fri Nov 20 17:12:21 2015 @@ -303,7 +303,9 @@ gui()->showFullScreen(); gui()->mapview_wdg->showFullScreen(); } else { - showMaximized(); + if (!isMaximized()) { + showMaximized(); + } } menuBar()->setVisible(true); mapview_wdg->setFocus(); _______________________________________________ Freeciv-commits mailing list Freeciv-commits@gna.org https://mail.gna.org/listinfo/freeciv-commits