From 0f00b8c9b301ea67945fa9b450a5e80cb127a3cd Mon Sep 17 00:00:00 2001 From: doitux Date: Sun, 14 Nov 2010 19:26:53 +0000 Subject: [PATCH] add new network notification messages --- src/gui/qt/startwindow/startwindowimpl.cpp | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/gui/qt/startwindow/startwindowimpl.cpp b/src/gui/qt/startwindow/startwindowimpl.cpp index 12ede3fb..f391b914 100644 --- a/src/gui/qt/startwindow/startwindowimpl.cpp +++ b/src/gui/qt/startwindow/startwindowimpl.cpp @@ -841,6 +841,16 @@ void startWindowImpl::networkNotification(int notificationId) hideTimeoutDialog(); switch (notificationId) { + case NTF_NET_JOIN_IP_BLOCKED: + { QMessageBox::warning(this, tr("Network Notification"), + tr("You cannot join this game, because another player in that game has your network address."), + QMessageBox::Close); } + break; + case NTF_NET_REMOVED_START_FAILED: + { QMessageBox::warning(this, tr("Network Notification"), + tr("Your connection to the server is very slow, the game had to start without you."), + QMessageBox::Close); } + break; case NTF_NET_REMOVED_KICKED: { QMessageBox::warning(this, tr("Network Notification"), tr("You were kicked from the game."),