session refactoring

This commit is contained in:
doitux
2008-10-08 07:52:06 +00:00
parent de6228bb7d
commit 6bfd0b0dfb
3 changed files with 4 additions and 9 deletions
+3 -3
View File
@@ -56,9 +56,9 @@ startWindowImpl::startWindowImpl(ConfigFile *c)
myGuiInterface.reset(new GuiWrapper(myConfig, this));
{
boost::shared_ptr<Session> session(new Session(myGuiInterface.get(), myConfig));
session->init(); // TODO handle error
myGuiInterface->setSession(session);
mySession.reset(new Session(myGuiInterface.get(), myConfig));
mySession->init(); // TODO handle error
// myGuiInterface->setSession(session);
}