mpxplugins/serviceplugins/collectionplugins/mpxsqlitedbplugin/src/mpxdbartist.cpp
branchRCL_3
changeset 14 943ff5625028
parent 2 b70d77332e66
equal deleted inserted replaced
11:13afc0e517bd 14:943ff5625028
   336 
   336 
   337     if (setStr->Length())
   337     if (setStr->Length())
   338         {
   338         {
   339         // execute the query
   339         // execute the query
   340         iDbManager.ExecuteQueryL(aDriveId, KQueryArtistUpdate, setStr, aId);
   340         iDbManager.ExecuteQueryL(aDriveId, KQueryArtistUpdate, setStr, aId);
   341         TInt oldSongId = (aMedia.ValueTObjectL<TMPXItemId>(KMPXMediaGeneralId)).iId2;   
   341         MPXDbCommonUtil::AddItemAlbumChangedMessageL(*aItemChangedMessages, aId, EMPXItemModified,
   342         MPXDbCommonUtil::AddItemChangedMessageL(*aItemChangedMessages, aId, EMPXItemModified,
   342         		EMPXArtist, KDBPluginUid, ETrue, 0 );          
   343             EMPXArtist, KDBPluginUid, oldSongId );
       
   344         }
   343         }
   345 
   344 
   346     CleanupStack::PopAndDestroy(setStr);
   345     CleanupStack::PopAndDestroy(setStr);
   347     CleanupStack::PopAndDestroy(values);
   346     CleanupStack::PopAndDestroy(values);
   348     CleanupStack::PopAndDestroy(fields);
   347     CleanupStack::PopAndDestroy(fields);