equal
deleted
inserted
replaced
59 OstTraceEventStart0( EVENT_DUP1__MAIN_START, "launch" ); |
59 OstTraceEventStart0( EVENT_DUP1__MAIN_START, "launch" ); |
60 |
60 |
61 if(!XQServiceUtil::isService()){ |
61 if(!XQServiceUtil::isService()){ |
62 HbSplashScreen::start(); |
62 HbSplashScreen::start(); |
63 stateMgr = new GlxStateManager(); |
63 stateMgr = new GlxStateManager(); |
64 app.setApplicationName(GLX_TITLE); |
64 app.setApplicationName( GLX_TITLE ); |
65 stateMgr->launchApplication(); |
65 stateMgr->launchApplication(); |
66 } |
66 } |
67 else { |
67 else { |
68 mainWindow = new GlxAiwServiceHandler(); |
68 mainWindow = new GlxAiwServiceHandler(); |
69 mainWindow->show(); |
69 mainWindow->show(); |
70 } |
70 } |
|
71 app.initMattiAutomation(); |
71 OstTraceEventStop( EVENT_DUP1__MAIN_STOP, "launch", EVENT_DUP1__MAIN_START ); |
72 OstTraceEventStop( EVENT_DUP1__MAIN_STOP, "launch", EVENT_DUP1__MAIN_START ); |
72 |
73 |
73 int ret = app.exec(); |
74 int ret = app.exec(); |
74 delete stateMgr; |
75 delete stateMgr; |
75 delete mainWindow; |
76 delete mainWindow; |