session refactoring
This commit is contained in:
1 parent
de6228bb7d
commit
6bfd0b0dfb
3 files changed
+4
-9
No files matched your search
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user