ui/viewmanagement/viewmanager/src/glxviewmanager.cpp
changeset 44 aa2fa096cbfb
parent 43 72396548277c
child 45 863223ea6961
--- a/ui/viewmanagement/viewmanager/src/glxviewmanager.cpp	Fri May 28 21:11:54 2010 +0530
+++ b/ui/viewmanagement/viewmanager/src/glxviewmanager.cpp	Fri Jun 11 17:53:15 2010 +0530
@@ -70,10 +70,8 @@
 void GlxViewManager::setupItems( )
 {
     mMenuManager = new GlxMenuManager(mMainWindow);
-    addBackSoftKeyAction(); 
-    
-    addConnection();
-    
+    addBackSoftKeyAction();    
+    addConnection();    
     mMenuManager->addMenu( mView->viewId(), mView->menu() );
     mMenuManager->setModel( mModel );
 }
@@ -159,7 +157,7 @@
     if ( mEffectEngine == NULL ) { 
         mEffectEngine = new GlxEffectEngine();
         mEffectEngine->registerTransitionEffect();
-        connect( mEffectEngine, SIGNAL( effectFinished() ), this, SLOT( effectFinished() ) );
+        connect( mEffectEngine, SIGNAL( effectFinished() ), this, SLOT( effectFinished() ), Qt::QueuedConnection );
     }
     
     QList< QGraphicsItem * > itemList;
@@ -587,7 +585,7 @@
         connect(mBackAction, SIGNAL( triggered() ), this, SLOT( handleAction() ));
         
     if ( mEffectEngine )  {
-        connect( mEffectEngine, SIGNAL( effectFinished() ), this, SLOT( effectFinished() ) );
+        connect( mEffectEngine, SIGNAL( effectFinished() ), this, SLOT( effectFinished() ), Qt::QueuedConnection );
     }        
 }