mirror of
https://github.com/strawberrymusicplayer/strawberry
synced 2024-12-14 09:44:51 +01:00
Change const_iterator to iterator
This commit is contained in:
parent
fdc9a71f9e
commit
e4f684f411
@ -246,7 +246,7 @@ QVariant ContextAlbumsModel::data(const CollectionItem *item, int role) const {
|
|||||||
|
|
||||||
void ContextAlbumsModel::Reset() {
|
void ContextAlbumsModel::Reset() {
|
||||||
|
|
||||||
for (QMap<QString, CollectionItem*>::const_iterator it = container_nodes_.begin() ; it != container_nodes_.end(); ++it) {
|
for (QMap<QString, CollectionItem*>::iterator it = container_nodes_.begin() ; it != container_nodes_.end(); ++it) {
|
||||||
const QString cache_key = AlbumIconPixmapCacheKey(ItemToIndex(it.value()));
|
const QString cache_key = AlbumIconPixmapCacheKey(ItemToIndex(it.value()));
|
||||||
QPixmapCache::remove(cache_key);
|
QPixmapCache::remove(cache_key);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user