videocollection/videocollectionwrapper/tsrc/testvideomodel/src/mediaobjectfactory.cpp
equal
deleted
inserted
replaced
186 { |
186 { |
187 return false; |
187 return false; |
188 } |
188 } |
189 } |
189 } |
190 |
190 |
|
191 // set video count |
|
192 if(detailSelectionFlag & MediaDetailCategoryVideoCount) |
|
193 { |
|
194 int count = (index%5); |
|
195 TRAPD(error, media->SetTObjectValueL<quint32>(KVcxMediaMyVideosCategoryItemCount, count)); |
|
196 if(error != KErrNone) |
|
197 { |
|
198 return false; |
|
199 } |
|
200 } |
|
201 |
191 return true; |
202 return true; |
192 |
203 |
193 } |
204 } |
194 |
205 |
195 // ----------------------------------------------------------------------------- |
206 // ----------------------------------------------------------------------------- |