QTfrontend/ui/page/pagenet.cpp
branchphysfslayer
changeset 7928 88fde28bbda6
parent 7794 ab7b94c03bc9
child 8636 fa8cd97a0a09
--- a/QTfrontend/ui/page/pagenet.cpp	Sun Oct 21 01:28:33 2012 +0400
+++ b/QTfrontend/ui/page/pagenet.cpp	Sat Nov 03 00:34:35 2012 +0400
@@ -108,7 +108,12 @@
     QModelIndex mi = tvServersList->currentIndex();
     if(!mi.isValid())
     {
-        QMessageBox::information(this, tr("Error"), tr("Please select server from the list above"));
+        QMessageBox serverMsg(this);
+        serverMsg.setIcon(QMessageBox::Warning);
+        serverMsg.setWindowTitle(QMessageBox::tr("Netgame - Error"));
+        serverMsg.setText(QMessageBox::tr("Please select a server from the list"));
+        serverMsg.setWindowModality(Qt::WindowModal);
+        serverMsg.exec();
         return;
     }
     QString host = model->index(mi.row(), 1).data().toString();