collection location: remove UpdateCapability use from slotFinishRemove()
authorMatěj Laitl <matej@laitl.cz>
Sat, 10 Dec 2011 16:28:10 +0000 (17:28 +0100)
committerMatěj Laitl <matej@laitl.cz>
Tue, 20 Dec 2011 11:04:47 +0000 (12:04 +0100)
commit3215e494afc9ff3cd6961a445e9b74ce05cbd45d
tree720f9f1fb9c1b05f8a40660baf4c836abfbb98b9
parent001a5fcda88d422dff6f482d6c9b30cd54bffe38
collection location: remove UpdateCapability use from slotFinishRemove()

Only MediaDeviceCollection and SqlCollection do have their
UpdateCapabilities.

MediaDeviceCollection already calls handler::writeDatabase() which in
turn calls everything that media device UpdateCapability does.

SqlCollection calls SqlTrack::remove() for each track that is removed,
which in turn calls m_collection->collectionUpdated() which is what
SqlCollection UpdateCapability does.
src/core/collections/CollectionLocation.cpp