Author: mir3x
Date: Sun Aug  7 18:06:10 2016
New Revision: 33501

URL: http://svn.gna.org/viewcvs/freeciv?rev=33501&view=rev
Log:
Qt client - ported popup_connect_message.

See patch #7537


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

Modified: trunk/client/gui-qt/dialogs.cpp
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/client/gui-qt/dialogs.cpp?rev=33501&r1=33500&r2=33501&view=diff
==============================================================================
--- trunk/client/gui-qt/dialogs.cpp     (original)
+++ trunk/client/gui-qt/dialogs.cpp     Sun Aug  7 18:06:10 2016
@@ -851,7 +851,13 @@
 **************************************************************************/
 void popup_connect_msg(const char *headline, const char *message)
 {
-  qDebug() << Q_FUNC_INFO << "PORTME";
+  QMessageBox msg(gui()->central_wdg);
+
+  msg.setText(message);
+  msg.setStandardButtons(QMessageBox::Ok);
+  msg.setWindowTitle(headline);
+  msg.exec();
+
 }
 
 /**************************************************************************


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

Reply via email to