Fix formatting

This commit is contained in:
Jonas Kvinge 2019-11-12 19:16:22 +01:00
parent 04baa9ec0f
commit 796fa285f5
1 changed files with 2 additions and 1 deletions

View File

@ -409,7 +409,8 @@ void LibraryModel::SongsDeleted(const SongList& songs) {
const QString cache_key = AlbumIconPixmapCacheKey(idx);
QPixmapCache::remove(cache_key);
icon_cache_->remove(QUrl(cache_key));
if (pending_cache_keys_.contains(cache_key)) pending_cache_keys_.remove(cache_key);
if (pending_cache_keys_.contains(cache_key))
pending_cache_keys_.remove(cache_key);
// Remove from pending art loading
QMapIterator<quint64, ItemAndCacheKey> i(pending_art_);