videocollection/videocollectionwrapper/tsrc/testvideomodel/src/mediaobjectfactory.cpp
changeset 36 8aed59de29f9
parent 35 3738fe97f027
--- a/videocollection/videocollectionwrapper/tsrc/testvideomodel/src/mediaobjectfactory.cpp	Thu Apr 01 23:32:44 2010 +0300
+++ b/videocollection/videocollectionwrapper/tsrc/testvideomodel/src/mediaobjectfactory.cpp	Fri Apr 16 18:13:14 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)
         {