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