ui/viewmanagement/statehandler/src/glxstatemanager.cpp
changeset 40 112f0ac2d1f0
parent 26 c499df2dbb33
child 33 1ee2af37811f
--- a/ui/viewmanagement/statehandler/src/glxstatemanager.cpp	Mon May 03 12:31:32 2010 +0300
+++ b/ui/viewmanagement/statehandler/src/glxstatemanager.cpp	Mon May 03 00:53:50 2010 +0530
@@ -386,7 +386,7 @@
 
 void GlxStateManager::setFullScreenContext()
 {
-    if ( mViewManager->orientation() == Qt::Horizontal ) {
+    if ( mViewManager->orientation() == Qt::Horizontal || mCurrentState->id() == GLX_SLIDESHOWVIEW_ID ) {
         mCurrentModel->setData(QModelIndex(), (int)GlxContextLsFs, GlxContextRole );
     }
     else {
@@ -492,13 +492,6 @@
        mViewManager->handleUserAction(mCurrentState->id(), id);
        id = EGlxCmdHandled;
        break;
-   case EGlxCmdRotate:
-       mViewManager->handleUserAction(mCurrentState->id(), id);
-	   //Disable Rotate CH mActionHandler->handleAction(id,mCollectionId);
-       id = EGlxCmdHandled;
-       break;    
-       
-
        
    case EGlxCmdSetupItem :
        emit setupItemsSignal();