--- a/videocollection/mpxmyvideoscollection/src/vcxmyvideosmdsdb.cpp Tue May 11 16:15:40 2010 +0300
+++ b/videocollection/mpxmyvideoscollection/src/vcxmyvideosmdsdb.cpp Tue May 25 12:44:54 2010 +0300
@@ -1336,18 +1336,6 @@
static_cast<CMdEUint32Property*>(property)->SetValueL( flags );
}
-
- // Play pos has really changed -> put the video as last watched
- if ( aObject.Property( *iLastPlayPositionPropertyDef, property, 0 ) == KErrNotFound ||
- static_cast<CMdEReal32Property*>(property)->Value() != lastPlaybackPos )
- {
- if ( !iRepository )
- {
- iRepository = CRepository::NewL( TUid::Uid( KVcxMyVideosCollectionCenrepUid ) );
- }
- iRepository->Set( KVcxMyVideosCollectionCenrepKeyLastWatchedMpxId,
- TInt ( aVideo.ValueTObjectL<TMPXItemId>( KMPXMediaGeneralId ).iId1 ) );
- }
if ( aObject.Property( *iLastPlayPositionPropertyDef, property, 0 ) != KErrNotFound )
{
static_cast<CMdEReal32Property*>(property)->SetValueL( lastPlaybackPos );