diff --git a/src/context/contextalbumsmodel.cpp b/src/context/contextalbumsmodel.cpp index c660364d5..bc1d2844c 100644 --- a/src/context/contextalbumsmodel.cpp +++ b/src/context/contextalbumsmodel.cpp @@ -246,7 +246,7 @@ QVariant ContextAlbumsModel::data(const CollectionItem *item, int role) const { void ContextAlbumsModel::Reset() { - for (QMap::const_iterator it = container_nodes_.begin() ; it != container_nodes_.end(); ++it) { + for (QMap::iterator it = container_nodes_.begin() ; it != container_nodes_.end(); ++it) { const QString cache_key = AlbumIconPixmapCacheKey(ItemToIndex(it.value())); QPixmapCache::remove(cache_key); }