videocollection/hgmyvideos/src/vcxhgmyvideosvideocopier.cpp
branchRCL_3
changeset 11 5294c000a26d
parent 0 96612d01cf9f
child 23 8f0df5c82986
equal deleted inserted replaced
10:ce5ada96ab30 11:5294c000a26d
   149         {
   149         {
   150         // Wait note is closed in destructor (CloseMoveCopyWaitNote()), 
   150         // Wait note is closed in destructor (CloseMoveCopyWaitNote()), 
   151         // in DialogDismissedL() or in VideoMoveOrCopyCompletedL().
   151         // in DialogDismissedL() or in VideoMoveOrCopyCompletedL().
   152         OpenMoveCopyWaitNoteL( aOperationTargets, aCopy );
   152         OpenMoveCopyWaitNoteL( aOperationTargets, aCopy );
   153 
   153 
   154         iVideoModel.MoveOrCopyVideosL( aOperationTargets, targetDrive, aCopy );
   154         TRAPD( ret, iVideoModel.MoveOrCopyVideosL( aOperationTargets, targetDrive, aCopy ));
       
   155         
       
   156         if( ret != KErrNone )
       
   157             {
       
   158             CloseMoveCopyWaitNote();
       
   159             }
       
   160         
   155         iCopy = aCopy;
   161         iCopy = aCopy;
   156         }
   162         }
   157     }
   163     }
   158 
   164 
   159 // ---------------------------------------------------------------------------
   165 // ---------------------------------------------------------------------------