profilesservices/MediaFileList/Src/mediafiledialog.cpp
branchRCL_3
changeset 8 f62c3a3d66b8
parent 3 a50b123945f0
child 17 f392bfb21e08
--- a/profilesservices/MediaFileList/Src/mediafiledialog.cpp	Tue Feb 02 00:22:03 2010 +0200
+++ b/profilesservices/MediaFileList/Src/mediafiledialog.cpp	Fri Feb 19 23:06:10 2010 +0200
@@ -1887,11 +1887,6 @@
         return;
         }
         
-    if ( aMediaType == CMediaFileList::EMediaFileTypeVideo )
-        {
-        PreviewVideoL( iBuf );
-        return;
-        }
     
     if ( iState->CurrentFolder() == EEFolderSearch )
         {
@@ -1906,6 +1901,12 @@
         return;
         }
         
+    if ( aMediaType == CMediaFileList::EMediaFileTypeVideo )
+        {
+        PreviewVideoL( iBuf );
+        return;
+        }
+    
     iAudioPreviewHandler->SetAttrL( TMFDialogUtil::EAttrFileName, iBuf );
     iAudioPreviewHandler->PlayL();