diff --git a/src/libtomahawk/widgets/PlayableCover.cpp b/src/libtomahawk/widgets/PlayableCover.cpp index 3b135edc1..2c5652f26 100644 --- a/src/libtomahawk/widgets/PlayableCover.cpp +++ b/src/libtomahawk/widgets/PlayableCover.cpp @@ -133,6 +133,7 @@ void PlayableCover::setPixmap( const QPixmap& pixmap ) { m_pixmap = TomahawkUtils::createRoundedImage( pixmap, size() ); + repaint(); } @@ -288,6 +289,7 @@ void PlayableCover::setArtist( const Tomahawk::artist_ptr& artist ) { m_artist = artist; + repaint(); } @@ -295,6 +297,7 @@ void PlayableCover::setAlbum( const Tomahawk::album_ptr& album ) { m_album = album; + repaint(); } @@ -302,4 +305,12 @@ void PlayableCover::setQuery( const Tomahawk::query_ptr& query ) { m_query = query; + repaint(); +} + + +void PlayableCover::setShowText( bool b ) +{ + m_showText = b; + repaint(); } diff --git a/src/libtomahawk/widgets/PlayableCover.h b/src/libtomahawk/widgets/PlayableCover.h index f96f1cba2..0a07af9e7 100644 --- a/src/libtomahawk/widgets/PlayableCover.h +++ b/src/libtomahawk/widgets/PlayableCover.h @@ -41,7 +41,7 @@ public: virtual ~PlayableCover(); bool showText() const { return m_showText; } - void setShowText( bool b ) { m_showText = b; } + void setShowText( bool b ); QPixmap pixmap() const { return m_pixmap; }