From a993a14414aa2dcc2658dfa0b1ba167c2d9a7a2e Mon Sep 17 00:00:00 2001 From: Dan Meltzer Date: Sun, 2 Dec 2007 14:38:51 -0500 Subject: [PATCH] Revert previous commit, was incorrect --- src/servicebrowser/ServiceAlbumCoverDownloader.cpp | 2 +- src/servicebrowser/ServiceAlbumCoverDownloader.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/servicebrowser/ServiceAlbumCoverDownloader.cpp b/src/servicebrowser/ServiceAlbumCoverDownloader.cpp index 494e621e1..39b0f1c83 100644 --- a/src/servicebrowser/ServiceAlbumCoverDownloader.cpp +++ b/src/servicebrowser/ServiceAlbumCoverDownloader.cpp @@ -97,7 +97,7 @@ QPixmap ServiceAlbumWithCover::image(int size, bool withShadow) return Album::image( size, withShadow ); } -void ServiceAlbumWithCover::setImage( const QImage & image ) +void ServiceAlbumWithCover::setImage( const QImage & image ) const { m_cover = image; m_hasFetchedCover = true; diff --git a/src/servicebrowser/ServiceAlbumCoverDownloader.h b/src/servicebrowser/ServiceAlbumCoverDownloader.h index c130a0ded..7f7e955e8 100644 --- a/src/servicebrowser/ServiceAlbumCoverDownloader.h +++ b/src/servicebrowser/ServiceAlbumCoverDownloader.h @@ -59,7 +59,7 @@ public: virtual void setCoverUrl( const QString &coverUrl ) = 0; virtual QString coverUrl() const = 0; - void setImage( const QImage & image ); + void setImage( const QImage & image ) const; void imageDownloadCanceled() const; virtual QPixmap image( int size = 1, bool withShadow = false); //overridden from Meta::Album -- 2.11.4.GIT