Author: mir3x
Date: Sun Dec 20 20:07:17 2015
New Revision: 31120

URL: http://svn.gna.org/viewcvs/freeciv?rev=31120&view=rev
Log:
Made text visible in QMessageBox when bribing unit and there was not enough 
gold. 

See bug #24197


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

Modified: branches/S2_5/client/gui-qt/dialogs.cpp
URL: 
http://svn.gna.org/viewcvs/freeciv/branches/S2_5/client/gui-qt/dialogs.cpp?rev=31120&r1=31119&r2=31120&view=diff
==============================================================================
--- branches/S2_5/client/gui-qt/dialogs.cpp     (original)
+++ branches/S2_5/client/gui-qt/dialogs.cpp     Sun Dec 20 20:07:17 2015
@@ -1666,6 +1666,7 @@
     fc_snprintf(buf2, ARRAY_SIZE(buf2),
                 PL_("Bribing the unit costs %d gold.\n%s",
                     "Bribing the unit costs %d gold.\n%s", cost), cost, buf);
+    ask.setText(buf2);
     ask.setWindowTitle(_("Traitors Demand Too Much!"));
     ask.exec();
   }


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

Reply via email to