mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-15 02:24:50 +02:00
* No need to hook up to query's coverChanged() signal anymore.
This commit is contained in:
@@ -100,9 +100,6 @@ PlayableItem::PlayableItem( const Tomahawk::query_ptr& query, PlayableItem* pare
|
|||||||
connect( query.data(), SIGNAL( resultsChanged() ),
|
connect( query.data(), SIGNAL( resultsChanged() ),
|
||||||
SLOT( onResultsChanged() ) );
|
SLOT( onResultsChanged() ) );
|
||||||
|
|
||||||
connect( query.data(), SIGNAL( coverChanged() ),
|
|
||||||
SIGNAL( coverChanged() ) );
|
|
||||||
|
|
||||||
connect( query->displayQuery().data(), SIGNAL( coverChanged() ),
|
connect( query->displayQuery().data(), SIGNAL( coverChanged() ),
|
||||||
SIGNAL( coverChanged() ) );
|
SIGNAL( coverChanged() ) );
|
||||||
}
|
}
|
||||||
@@ -130,9 +127,6 @@ PlayableItem::PlayableItem( const Tomahawk::plentry_ptr& entry, PlayableItem* pa
|
|||||||
connect( m_query.data(), SIGNAL( resultsChanged() ),
|
connect( m_query.data(), SIGNAL( resultsChanged() ),
|
||||||
SLOT( onResultsChanged() ) );
|
SLOT( onResultsChanged() ) );
|
||||||
|
|
||||||
connect( m_query.data(), SIGNAL( coverChanged() ),
|
|
||||||
SIGNAL( coverChanged() ) );
|
|
||||||
|
|
||||||
connect( m_query->displayQuery().data(), SIGNAL( coverChanged() ),
|
connect( m_query->displayQuery().data(), SIGNAL( coverChanged() ),
|
||||||
SIGNAL( coverChanged() ) );
|
SIGNAL( coverChanged() ) );
|
||||||
}
|
}
|
||||||
@@ -144,7 +138,7 @@ PlayableItem::init( PlayableItem* parent, int row )
|
|||||||
m_fetchingMore = false;
|
m_fetchingMore = false;
|
||||||
m_isPlaying = false;
|
m_isPlaying = false;
|
||||||
m_parent = parent;
|
m_parent = parent;
|
||||||
|
|
||||||
if ( parent )
|
if ( parent )
|
||||||
{
|
{
|
||||||
if ( row < 0 )
|
if ( row < 0 )
|
||||||
@@ -159,7 +153,7 @@ PlayableItem::init( PlayableItem* parent, int row )
|
|||||||
|
|
||||||
this->model = parent->model;
|
this->model = parent->model;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( !m_query.isNull() )
|
if ( !m_query.isNull() )
|
||||||
{
|
{
|
||||||
onResultsChanged();
|
onResultsChanged();
|
||||||
|
Reference in New Issue
Block a user