equal
deleted
inserted
replaced
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 } |