next try for previous fix
This commit is contained in:
@@ -1938,3 +1938,8 @@ QString gameLobbyDialogImpl::getFullCountryString(QString cs)
|
|||||||
}
|
}
|
||||||
return fullString;
|
return fullString;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void gameLobbyDialogImpl::stopWaitStartGameMsgBoxTimer()
|
||||||
|
{
|
||||||
|
waitStartGameMsgBoxTimer->stop();
|
||||||
|
}
|
||||||
|
|||||||
@@ -114,6 +114,7 @@ public slots:
|
|||||||
void showGameDescription(bool show);
|
void showGameDescription(bool show);
|
||||||
void showWaitStartGameMsgBox();
|
void showWaitStartGameMsgBox();
|
||||||
void hideWaitStartGameMsgBox();
|
void hideWaitStartGameMsgBox();
|
||||||
|
void stopWaitStartGameMsgBoxTimer();
|
||||||
void joinAnyGameButtonRefresh();
|
void joinAnyGameButtonRefresh();
|
||||||
void reject();
|
void reject();
|
||||||
void closeEvent(QCloseEvent *event);
|
void closeEvent(QCloseEvent *event);
|
||||||
|
|||||||
@@ -928,10 +928,12 @@ void startWindowImpl::networkNotification(int notificationId)
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case NTF_NET_REMOVED_START_FAILED: {
|
case NTF_NET_REMOVED_START_FAILED: {
|
||||||
myGameLobbyDialog->hideWaitStartGameMsgBox();
|
myGameLobbyDialog->stopWaitStartGameMsgBoxTimer();
|
||||||
QMessageBox::warning(this, tr("Network Notification"),
|
if(QMessageBox::warning(this, tr("Network Notification"),
|
||||||
tr("Your connection to the server is very slow, the game had to start without you."),
|
tr("Your connection to the server is very slow, the game had to start without you."),
|
||||||
QMessageBox::Close);
|
QMessageBox::Close) == QMessageBox::Close) {
|
||||||
|
myGameLobbyDialog->hideWaitStartGameMsgBox();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case NTF_NET_REMOVED_KICKED: {
|
case NTF_NET_REMOVED_KICKED: {
|
||||||
|
|||||||
Reference in New Issue
Block a user