crash bugfix
This commit is contained in:
@@ -857,7 +857,7 @@ void gameTableImpl::initGui(int speed)
|
|||||||
QString titleString = "";
|
QString titleString = "";
|
||||||
assert(myStartWindow->getSession());
|
assert(myStartWindow->getSession());
|
||||||
if(myStartWindow->getSession()->getGameType() == Session::GAME_TYPE_INTERNET || myStartWindow->getSession()->getGameType() == Session::GAME_TYPE_NETWORK) {
|
if(myStartWindow->getSession()->getGameType() == Session::GAME_TYPE_INTERNET || myStartWindow->getSession()->getGameType() == Session::GAME_TYPE_NETWORK) {
|
||||||
GameInfo info(myStartWindow->getSession()->getClientGameInfo(myStartWindow->getSession()->getCurrentGame()->getMyGameID()));
|
GameInfo info(myStartWindow->getSession()->getClientGameInfo(myStartWindow->getSession()->getClientCurrentGameId()));
|
||||||
titleString = QString::fromUtf8(info.name.c_str())+" - ";
|
titleString = QString::fromUtf8(info.name.c_str())+" - ";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user