crash bugfix
This commit is contained in:
1 parent
342c11615e
commit
f64d1f187a
1 file changed
+1
-1
@@ -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