homescreenapp/stateplugins/hshomescreenstateplugin/tsrc/t_hshomescreenstateplugin/src/t_hsbackuprestorestate.cpp
changeset 101 ba1b7e218624
parent 90 3ac3aaebaee5
--- 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();