QTfrontend/ui/page/pagenetgame.cpp
changeset 7794 ab7b94c03bc9
parent 7720 8e6b79a020f8
child 7823 46f115569045
--- a/QTfrontend/ui/page/pagenetgame.cpp	Tue Oct 23 05:21:44 2012 +0200
+++ b/QTfrontend/ui/page/pagenetgame.cpp	Tue Oct 23 06:50:19 2012 +0200
@@ -157,10 +157,12 @@
     else
     {
         leRoomName->clear();
-        QMessageBox::critical(this,
-                              tr("Error"),
-                              tr("Please enter room name"),
-                              tr("OK"));
+        QMessageBox roomMsg(this);
+        roomMsg.setIcon(QMessageBox::Warning);
+        roomMsg.setWindowTitle(QMessageBox::tr("Netgame - Error"));
+        roomMsg.setText(QMessageBox::tr("Please enter room name"));
+        roomMsg.setWindowModality(Qt::WindowModal);
+        roomMsg.exec();
     }
 }