Author: mir3x Date: Wed Nov 2 11:00:24 2016 New Revision: 34321 URL: http://svn.gna.org/viewcvs/freeciv?rev=34321&view=rev Log: Qt client - Failed to maximize at start. Reported by Jacob Nevins
See bug #24860 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=34321&r1=34320&r2=34321&view=diff ============================================================================== --- branches/S2_5/client/gui-qt/fc_client.cpp (original) +++ branches/S2_5/client/gui-qt/fc_client.cpp Wed Nov 2 11:00:24 2016 @@ -308,12 +308,13 @@ gui()->infotab->chtwdg->update_widgets(); status_bar->setVisible(false); gui()->infotab->chtwdg->update_font(); + showMaximized(); + /* For MS Windows, it might ingore first */ + showMaximized(); if (fullscreen_mode){ gui()->showFullScreen(); gui()->mapview_wdg->showFullScreen(); - } else { - showMaximized(); - } + } menuBar()->setVisible(true); mapview_wdg->setFocus(); center_on_something(); _______________________________________________ Freeciv-commits mailing list Freeciv-commits@gna.org https://mail.gna.org/listinfo/freeciv-commits