From f64d1f187a373b8a9106344940596785dc8abf57 Mon Sep 17 00:00:00 2001 From: doitux Date: Sat, 24 Nov 2012 22:36:18 +0100 Subject: [PATCH] crash bugfix --- src/gui/qt/gametable/gametableimpl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/qt/gametable/gametableimpl.cpp b/src/gui/qt/gametable/gametableimpl.cpp index 6cf04a12..c1bf9d97 100755 --- a/src/gui/qt/gametable/gametableimpl.cpp +++ b/src/gui/qt/gametable/gametableimpl.cpp @@ -857,7 +857,7 @@ void gameTableImpl::initGui(int speed) QString titleString = ""; assert(myStartWindow->getSession()); 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())+" - "; }