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

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

See bug #23100


Modified:
    trunk/client/gui-qt/menu.cpp

Modified: trunk/client/gui-qt/menu.cpp
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/client/gui-qt/menu.cpp?rev=27463&r1=27462&r2=27463&view=diff
==============================================================================
--- trunk/client/gui-qt/menu.cpp        (original)
+++ trunk/client/gui-qt/menu.cpp        Wed Dec 31 14:22:49 2014
@@ -618,6 +618,7 @@
   act = menu->addAction(_("Clean Nuclear Fallout"));
   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);


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

Reply via email to