--- a/videocollection/mpxmyvideoscollection/src/vcxmyvideosopenhandler.cpp Tue Aug 31 15:15:55 2010 +0300
+++ b/videocollection/mpxmyvideoscollection/src/vcxmyvideosopenhandler.cpp Wed Sep 01 12:30:28 2010 +0100
@@ -511,6 +511,11 @@
MPX_DEBUG2("CVcxMyVideosOpenHandler:: First videos for album %d arrived, calling HandleOpen()", aAlbumId);
iAlbumVideoList->SetCObjectValueL( KMPXMediaGeneralContainerPath, iPath );
+ if ( aComplete )
+ {
+ iAlbumVideoList->SetTObjectValueL<TInt>( KVcxMediaMyVideosInt32Value,
+ EVcxMyVideosVideoListComplete );
+ }
iCollection.iObs->HandleOpen( iAlbumVideoList, aError );
iPendingAlbumOpenId = 0;
}
@@ -529,8 +534,6 @@
//TODO: should add album id
iCollection.AlbumsL().CalculateAttributesL(); // adds events if attributes modified, does not send
- iAlbumVideoList->SetTObjectValueL<TInt>( KVcxMediaMyVideosInt32Value,
- EVcxMyVideosVideoListComplete );
iCollection.iMessageList->AddEventL( KVcxMessageMyVideosListComplete );