void BaseTrackCache::slotTracksAdded(QSet<TrackId> trackIds) { if (sDebug) { qDebug() << this << "slotTracksAdded" << trackIds.size(); } QSet<TrackId> updateTrackIds; for (const auto& trackId: trackIds) { updateTrackIds.insert(trackId); } updateTracksInIndex(updateTrackIds); }
void BaseTrackCache::slotTracksAdded(QSet<int> trackIds) { if (sDebug) { qDebug() << this << "slotTracksAdded" << trackIds.size(); } updateTracksInIndex(trackIds); }
void BaseTrackCache::updateTrackInIndex(TrackId trackId) { QSet<TrackId> trackIds; trackIds.insert(trackId); updateTracksInIndex(trackIds); }
void BaseTrackCache::ensureCached(QSet<TrackId> trackIds) { updateTracksInIndex(trackIds); }