videocollection/videocollectionwrapper/tsrc/testvideomodel/src/mediaobjectfactory.cpp
changeset 17 69946d1824c4
parent 15 cf5481c2bc0b
--- a/videocollection/videocollectionwrapper/tsrc/testvideomodel/src/mediaobjectfactory.cpp	Fri Apr 16 14:59:52 2010 +0300
+++ b/videocollection/videocollectionwrapper/tsrc/testvideomodel/src/mediaobjectfactory.cpp	Mon May 03 12:32:50 2010 +0300
@@ -176,7 +176,7 @@
             return false;
         }
     }
-    
+
     // set file path
     if(detailSelectionFlag & MediaDetailFilePathFlag)
     {
@@ -191,7 +191,7 @@
     // set video count
     if(detailSelectionFlag & MediaDetailCategoryVideoCount)
     {  
-        int count = (index%5);
+        int count = 10 + index;
         TRAPD(error, media->SetTObjectValueL<quint32>(KVcxMediaMyVideosCategoryItemCount, count));
         if(error != KErrNone)
         {