Fix main window creation.
This commit is contained in:
+1
-8
@@ -133,14 +133,7 @@ int main( int argc, char **argv )
|
||||
///////////////////////////////////////////////////
|
||||
|
||||
|
||||
boost::shared_ptr<startWindowImpl>(new startWindowImpl(myConfig));
|
||||
// boost::shared_ptr<GuiInterface> myGuiInterface(new GuiWrapper(myConfig));
|
||||
// {
|
||||
// boost::shared_ptr<Session> session(new Session(myGuiInterface.get(), myConfig));
|
||||
// session->init(); // TODO handle error
|
||||
// myGuiInterface->setSession(session);
|
||||
// }
|
||||
|
||||
startWindowImpl *mainWin = new startWindowImpl(myConfig);
|
||||
int retVal = a.exec();
|
||||
|
||||
curl_global_cleanup();
|
||||
|
||||
Reference in New Issue
Block a user