set session for chat

This commit is contained in:
doitux
2009-08-18 00:46:18 +00:00
parent 118f053216
commit 3e2501c28b
4 changed files with 9 additions and 5 deletions
+3 -2
View File
@@ -695,11 +695,12 @@ void gameTableImpl::initGui(int speed)
horizontalSlider_speed->setValue(guiGameSpeed);
setSpeeds();
}
//set session for chat
myChat->setSession(this->getSession());
}
boost::shared_ptr<Session> gameTableImpl::getSession() { assert(myStartWindow->getSession().get()); return myStartWindow->getSession(); }
// void gameTableImpl::setSession(boost::shared_ptr<Session> session) { mySession = session; }
//refresh-Funktionen
void gameTableImpl::refreshSet() {