--- a/QTfrontend/ui/page/pagenet.cpp Tue Oct 23 05:21:44 2012 +0200
+++ b/QTfrontend/ui/page/pagenet.cpp Tue Oct 23 06:50:19 2012 +0200
@@ -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();