--- a/videocollection/mpxmyvideoscollection/src/vcxmyvideosopenhandler.cpp Thu Aug 19 09:57:17 2010 +0300
+++ b/videocollection/mpxmyvideoscollection/src/vcxmyvideosopenhandler.cpp Tue Aug 31 15:15:55 2010 +0300
@@ -511,11 +511,6 @@
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;
}
@@ -534,6 +529,8 @@
//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 );