mpxplugins/serviceplugins/collectionplugins/mpxsqlitedbhgplugin/src/mpxdbalbum.cpp
branchRCL_3
changeset 14 943ff5625028
parent 0 ff3acec5bc43
child 15 171e07ac910f
equal deleted inserted replaced
11:13afc0e517bd 14:943ff5625028
   311 
   311 
   312     if (setStr->Length())
   312     if (setStr->Length())
   313         {
   313         {
   314         // execute the query
   314         // execute the query
   315         iDbManager.ExecuteQueryL(aDriveId, KQueryAlbumUpdate, setStr, aId);
   315         iDbManager.ExecuteQueryL(aDriveId, KQueryAlbumUpdate, setStr, aId);
   316 	    TInt oldSongId = (aMedia.ValueTObjectL<TMPXItemId>(KMPXMediaGeneralId)).iId2;
   316         MPXDbCommonUtil::AddItemAlbumChangedMessageL(*aItemChangedMessages, aId, EMPXItemModified,
   317 	    MPXDbCommonUtil::AddItemChangedMessageL(*aItemChangedMessages, aId, EMPXItemModified,
   317         		EMPXAlbum, KDBPluginUid, ETrue, 0 );    
   318             EMPXAlbum, KDBPluginUid, oldSongId );
       
   319         }
   318         }
   320 
   319 
   321 	CleanupStack::PopAndDestroy(setStr);
   320 	CleanupStack::PopAndDestroy(setStr);
   322 	CleanupStack::PopAndDestroy(values);
   321 	CleanupStack::PopAndDestroy(values);
   323 	CleanupStack::PopAndDestroy(fields);
   322 	CleanupStack::PopAndDestroy(fields);