From 56e73fb274f8842b3005babcb77c87fbd6e6cd01 Mon Sep 17 00:00:00 2001 From: Christian Muehlhaeuser Date: Fri, 6 Jul 2012 03:40:50 +0200 Subject: [PATCH] * No need to hook up to query's coverChanged() signal anymore. --- src/libtomahawk/playlist/PlayableItem.cpp | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/src/libtomahawk/playlist/PlayableItem.cpp b/src/libtomahawk/playlist/PlayableItem.cpp index 7f06d5cf3..79870b63f 100644 --- a/src/libtomahawk/playlist/PlayableItem.cpp +++ b/src/libtomahawk/playlist/PlayableItem.cpp @@ -100,9 +100,6 @@ PlayableItem::PlayableItem( const Tomahawk::query_ptr& query, PlayableItem* pare connect( query.data(), SIGNAL( resultsChanged() ), SLOT( onResultsChanged() ) ); - connect( query.data(), SIGNAL( coverChanged() ), - SIGNAL( coverChanged() ) ); - connect( query->displayQuery().data(), SIGNAL( coverChanged() ), SIGNAL( coverChanged() ) ); } @@ -130,9 +127,6 @@ PlayableItem::PlayableItem( const Tomahawk::plentry_ptr& entry, PlayableItem* pa connect( m_query.data(), SIGNAL( resultsChanged() ), SLOT( onResultsChanged() ) ); - connect( m_query.data(), SIGNAL( coverChanged() ), - SIGNAL( coverChanged() ) ); - connect( m_query->displayQuery().data(), SIGNAL( coverChanged() ), SIGNAL( coverChanged() ) ); } @@ -144,7 +138,7 @@ PlayableItem::init( PlayableItem* parent, int row ) m_fetchingMore = false; m_isPlaying = false; m_parent = parent; - + if ( parent ) { if ( row < 0 ) @@ -159,7 +153,7 @@ PlayableItem::init( PlayableItem* parent, int row ) this->model = parent->model; } - + if ( !m_query.isNull() ) { onResultsChanged();