Author: mir3x
Date: Wed Dec 31 14:22:31 2014
New Revision: 27462

URL: http://svn.gna.org/viewcvs/freeciv?rev=27462&view=rev
Log:
Added ability to build wonder from menu to qt-client.
Patch by Sveinung Kvilhaugsvik <sveinung>.

See bug #23100


Modified:
    branches/S2_5/client/gui-qt/menu.cpp

Modified: branches/S2_5/client/gui-qt/menu.cpp
URL: 
http://svn.gna.org/viewcvs/freeciv/branches/S2_5/client/gui-qt/menu.cpp?rev=27462&r1=27461&r2=27462&view=diff
==============================================================================
--- branches/S2_5/client/gui-qt/menu.cpp        (original)
+++ branches/S2_5/client/gui-qt/menu.cpp        Wed Dec 31 14:22:31 2014
@@ -618,6 +618,10 @@
   menu_list.insertMulti(FALLOUT, act);
   act->setShortcut(QKeySequence(tr("n")));
   connect(act, SIGNAL(triggered()), this, SLOT(slot_clean_fallout()));
+  act = menu->addAction(_("Help build Wonder"));
+  act->setShortcut(QKeySequence(tr("b")));
+  menu_list.insertMulti(BUILD_WONDER, act);
+  connect(act, SIGNAL(triggered()), this, SLOT(slot_build_city()));
 
   /* Civilization menu */
   menu = this->addMenu(_("Civilization"));


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

Reply via email to