mpxplugins/serviceplugins/collectionplugins/mpxsqlitedbhgplugin/src/mpxdbartist.cpp
equal
deleted
inserted
replaced
333 |
333 |
334 if (setStr->Length()) |
334 if (setStr->Length()) |
335 { |
335 { |
336 // execute the query |
336 // execute the query |
337 iDbManager.ExecuteQueryL(aDriveId, KQueryArtistUpdate, setStr, aId); |
337 iDbManager.ExecuteQueryL(aDriveId, KQueryArtistUpdate, setStr, aId); |
338 TInt oldSongId = (aMedia.ValueTObjectL<TMPXItemId>(KMPXMediaGeneralId)).iId2; |
338 MPXDbCommonUtil::AddItemAlbumChangedMessageL(*aItemChangedMessages, aId, EMPXItemModified, |
339 MPXDbCommonUtil::AddItemChangedMessageL(*aItemChangedMessages, aId, EMPXItemModified, |
339 EMPXArtist, KDBPluginUid, ETrue, 0 ); |
340 EMPXArtist, KDBPluginUid, oldSongId ); |
|
341 } |
340 } |
342 |
341 |
343 CleanupStack::PopAndDestroy(setStr); |
342 CleanupStack::PopAndDestroy(setStr); |
344 CleanupStack::PopAndDestroy(values); |
343 CleanupStack::PopAndDestroy(values); |
345 CleanupStack::PopAndDestroy(fields); |
344 CleanupStack::PopAndDestroy(fields); |