homescreenapp/stateplugins/hshomescreenstateplugin/tsrc/t_hshomescreenstateplugin/src/t_hsbackuprestorestate.cpp
--- a/homescreenapp/stateplugins/hshomescreenstateplugin/tsrc/t_hshomescreenstateplugin/src/t_hsbackuprestorestate.cpp Mon Oct 18 10:20:15 2010 +0300
+++ b/homescreenapp/stateplugins/hshomescreenstateplugin/tsrc/t_hshomescreenstateplugin/src/t_hsbackuprestorestate.cpp Wed Oct 20 15:25:39 2010 +0300
@@ -36,8 +36,7 @@
{
HbInstance::instance();
HbMainWindow mainWindow;
- mainWindow.show();
- QCoreApplication::sendPostedEvents();
+ // mainWindow.show();
QStateMachine *sm = new QStateMachine;
HsBackupRestoreState *brs = new HsBackupRestoreState;
@@ -52,7 +51,7 @@
brs->addTransition(this, SIGNAL(finishStateMachine()), fs);
sm->start();
- QCoreApplication::sendPostedEvents();
+ QCoreApplication::sendPostedEvents(sm,0);
emit finishStateMachine();
sm->stop();