Back to rev. 347
This commit is contained in:
+3
-8
@@ -52,7 +52,6 @@
|
||||
using namespace std;
|
||||
|
||||
class GuiWrapper;
|
||||
class QtToolsWrapper;
|
||||
|
||||
int main( int argc, char **argv )
|
||||
{
|
||||
@@ -68,13 +67,9 @@ int main( int argc, char **argv )
|
||||
Q_INIT_RESOURCE(resources);
|
||||
///////////////////////////////////////////////////
|
||||
|
||||
|
||||
Session *theFirst = new Session();
|
||||
|
||||
GuiInterface *myGuiInterface = new GuiWrapper(theFirst);
|
||||
|
||||
theFirst->setGuiInterface(myGuiInterface);
|
||||
// myGuiInterface->setSession(&theFirst);
|
||||
GuiInterface *myGuiInterface = new GuiWrapper();
|
||||
Session theFirst(myGuiInterface);
|
||||
myGuiInterface->setSession(&theFirst);
|
||||
|
||||
int retVal = a.exec();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user