--- 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();
}
}