Author: mir3x
Date: Tue Dec 23 18:56:04 2014
New Revision: 27391

URL: http://svn.gna.org/viewcvs/freeciv?rev=27391&view=rev
Log:
Added few missing function headers.

Reported by Marko Lindqvist <cazfi>
See bug #23089


Modified:
    trunk/client/gui-qt/citydlg.cpp
    trunk/client/gui-qt/fc_client.cpp
    trunk/client/gui-qt/gui_main.cpp
    trunk/client/gui-qt/menu.cpp
    trunk/client/gui-qt/voteinfo_bar.h

Modified: trunk/client/gui-qt/citydlg.cpp
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/client/gui-qt/citydlg.cpp?rev=27391&r1=27390&r2=27391&view=diff
==============================================================================
--- trunk/client/gui-qt/citydlg.cpp     (original)
+++ trunk/client/gui-qt/citydlg.cpp     Tue Dec 23 18:56:04 2014
@@ -1098,6 +1098,9 @@
   ::city_dlg_created = true;
 }
 
+/****************************************************************************
+  Updates buttons/widgets which should be enabled/disabled
+****************************************************************************/
 void city_dialog::update_disabled()
 {
   if (NULL == client.conn.playing

Modified: trunk/client/gui-qt/fc_client.cpp
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/client/gui-qt/fc_client.cpp?rev=27391&r1=27390&r2=27391&view=diff
==============================================================================
--- trunk/client/gui-qt/fc_client.cpp   (original)
+++ trunk/client/gui-qt/fc_client.cpp   Tue Dec 23 18:56:04 2014
@@ -103,6 +103,9 @@
   init();
 }
 
+/****************************************************************************
+  Initializes layouts for all pages
+****************************************************************************/
 void fc_client::init()
 {
   central_wdg = new QWidget;
@@ -165,7 +168,7 @@
   connect(switch_page_mapper, SIGNAL(mapped( int)),
                 this, SLOT(switch_page(int)));
   setVisible(true);
-  
+
 }
 
 /****************************************************************************

Modified: trunk/client/gui-qt/gui_main.cpp
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/client/gui-qt/gui_main.cpp?rev=27391&r1=27390&r2=27391&view=diff
==============================================================================
--- trunk/client/gui-qt/gui_main.cpp    (original)
+++ trunk/client/gui-qt/gui_main.cpp    Tue Dec 23 18:56:04 2014
@@ -165,7 +165,7 @@
     if (!options.gui_qt_migrated_from_2_5) {
       migrate_options_from_2_5();
     }
-    
+
     freeciv_qt = new fc_client();
     freeciv_qt->main(qapp);
   }

Modified: trunk/client/gui-qt/menu.cpp
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/client/gui-qt/menu.cpp?rev=27391&r1=27390&r2=27391&view=diff
==============================================================================
--- trunk/client/gui-qt/menu.cpp        (original)
+++ trunk/client/gui-qt/menu.cpp        Tue Dec 23 18:56:04 2014
@@ -1332,11 +1332,17 @@
   units_report_dialog_popup(false);
 }
 
+/***************************************************************************
+  Slot for showing nations report
+***************************************************************************/
 void mr_menu::slot_show_nations()
 {
   popup_players_dialog(false);
 }
 
+/***************************************************************************
+  Slot for showing cities report
+***************************************************************************/
 void mr_menu::slot_show_cities()
 {
   city_report_dialog_popup(false);

Modified: trunk/client/gui-qt/voteinfo_bar.h
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/client/gui-qt/voteinfo_bar.h?rev=27391&r1=27390&r2=27391&view=diff
==============================================================================
--- trunk/client/gui-qt/voteinfo_bar.h  (original)
+++ trunk/client/gui-qt/voteinfo_bar.h  Tue Dec 23 18:56:04 2014
@@ -51,7 +51,7 @@
 };
 
 /***************************************************************************
-  xvote class used for displaying vote bar in PAGE START
+  xvote class used for displaying vote bar in PAGE GAME
 ***************************************************************************/
 class xvote : public pregamevote
 {


_______________________________________________
Freeciv-commits mailing list
Freeciv-commits@gna.org
https://mail.gna.org/listinfo/freeciv-commits

Reply via email to