equal
deleted
inserted
replaced
384 mCurrentModel->setData(QModelIndex(), (int)mode, GlxContextRole ); |
384 mCurrentModel->setData(QModelIndex(), (int)mode, GlxContextRole ); |
385 } |
385 } |
386 |
386 |
387 void GlxStateManager::setFullScreenContext() |
387 void GlxStateManager::setFullScreenContext() |
388 { |
388 { |
389 if ( mViewManager->orientation() == Qt::Horizontal ) { |
389 if ( mViewManager->orientation() == Qt::Horizontal || mCurrentState->id() == GLX_SLIDESHOWVIEW_ID ) { |
390 mCurrentModel->setData(QModelIndex(), (int)GlxContextLsFs, GlxContextRole ); |
390 mCurrentModel->setData(QModelIndex(), (int)GlxContextLsFs, GlxContextRole ); |
391 } |
391 } |
392 else { |
392 else { |
393 mCurrentModel->setData(QModelIndex(), (int)GlxContextPtFs, GlxContextRole ); |
393 mCurrentModel->setData(QModelIndex(), (int)GlxContextPtFs, GlxContextRole ); |
394 } |
394 } |
490 case EGlxCmdMarkAll: |
490 case EGlxCmdMarkAll: |
491 case EGlxCmdUnMarkAll: |
491 case EGlxCmdUnMarkAll: |
492 mViewManager->handleUserAction(mCurrentState->id(), id); |
492 mViewManager->handleUserAction(mCurrentState->id(), id); |
493 id = EGlxCmdHandled; |
493 id = EGlxCmdHandled; |
494 break; |
494 break; |
495 case EGlxCmdRotate: |
|
496 mViewManager->handleUserAction(mCurrentState->id(), id); |
|
497 //Disable Rotate CH mActionHandler->handleAction(id,mCollectionId); |
|
498 id = EGlxCmdHandled; |
|
499 break; |
|
500 |
|
501 |
|
502 |
495 |
503 case EGlxCmdSetupItem : |
496 case EGlxCmdSetupItem : |
504 emit setupItemsSignal(); |
497 emit setupItemsSignal(); |
505 break; |
498 break; |
506 |
499 |