mpxplugins/serviceplugins/collectionplugins/mpxsqlitedbplugin/src/mpxdbartist.cpp
equal
deleted
inserted
replaced
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); |