Author: mir3x Date: Mon Dec 14 02:42:01 2015 New Revision: 30982 URL: http://svn.gna.org/viewcvs/freeciv?rev=30982&view=rev Log: When changing help pages in Qt-client there could be visible extra resize effect on info panel with progressbars (easily visible when window was maximized)
See bug #24160 Modified: branches/S2_5/client/gui-qt/helpdlg.cpp Modified: branches/S2_5/client/gui-qt/helpdlg.cpp URL: http://svn.gna.org/viewcvs/freeciv/branches/S2_5/client/gui-qt/helpdlg.cpp?rev=30982&r1=30981&r2=30982&view=diff ============================================================================== --- branches/S2_5/client/gui-qt/helpdlg.cpp (original) +++ branches/S2_5/client/gui-qt/helpdlg.cpp Mon Dec 14 02:42:01 2015 @@ -358,6 +358,7 @@ splitter->setStretchFactor(1, 75); splitter->setSizes(splitter_sizes); main_widget = splitter; + info_panel->setLayout(info_layout); } else { main_widget = right; } @@ -398,7 +399,7 @@ void help_widget::show_info_panel() { info_panel = new QWidget(); - info_layout = new QVBoxLayout(info_panel); + info_layout = new QVBoxLayout(); } /**************************************************************************** _______________________________________________ Freeciv-commits mailing list Freeciv-commits@gna.org https://mail.gna.org/listinfo/freeciv-commits