ftuapplication/src/main.cpp
changeset 15 4956c89a3c3f
parent 14 88ff81299c11
equal deleted inserted replaced
14:88ff81299c11 15:4956c89a3c3f
    50     QObject::connect(&app,SIGNAL(aboutToQuit()),&ftuFirstTimeUse,SLOT(stop()));
    50     QObject::connect(&app,SIGNAL(aboutToQuit()),&ftuFirstTimeUse,SLOT(stop()));
    51     QObject::connect(&ftuFirstTimeUse, SIGNAL(exit()), &app, SLOT(quit()),Qt::QueuedConnection);    
    51     QObject::connect(&ftuFirstTimeUse, SIGNAL(exit()), &app, SLOT(quit()),Qt::QueuedConnection);    
    52     ftuFirstTimeUse.start();
    52     ftuFirstTimeUse.start();
    53     int ret = app.exec();
    53     int ret = app.exec();
    54     QDEBUG("FTU::FtuFirstTimeUse::main");
    54     QDEBUG("FTU::FtuFirstTimeUse::main");
    55     //Work around to make sure that ftu exits
       
    56     User::Exit(0);
       
    57     delete translator;
    55     delete translator;
    58     return ret;       
    56     return ret;       
    59 }
    57 }