Author: mir3x
Date: Mon Dec 14 02:42:23 2015
New Revision: 30984

URL: http://svn.gna.org/viewcvs/freeciv?rev=30984&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:
    trunk/client/gui-qt/helpdlg.cpp

Modified: trunk/client/gui-qt/helpdlg.cpp
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/client/gui-qt/helpdlg.cpp?rev=30984&r1=30983&r2=30984&view=diff
==============================================================================
--- trunk/client/gui-qt/helpdlg.cpp     (original)
+++ trunk/client/gui-qt/helpdlg.cpp     Mon Dec 14 02:42:23 2015
@@ -360,6 +360,7 @@
     splitter->setStretchFactor(1, 75);
     splitter->setSizes(splitter_sizes);
     main_widget = splitter;
+    info_panel->setLayout(info_layout);
   } else {
     main_widget = right;
   }
@@ -400,7 +401,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

Reply via email to