mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-15 02:24:50 +02:00
* Hooking up to resultsChanged() is enough in PlayableItem.
This commit is contained in:
@@ -89,12 +89,6 @@ PlayableItem::PlayableItem( const Tomahawk::query_ptr& query, PlayableItem* pare
|
|||||||
connect( query.data(), SIGNAL( updated() ),
|
connect( query.data(), SIGNAL( updated() ),
|
||||||
SIGNAL( dataChanged() ) );
|
SIGNAL( dataChanged() ) );
|
||||||
|
|
||||||
connect( query.data(), SIGNAL( resultsAdded( QList<Tomahawk::result_ptr> ) ),
|
|
||||||
SLOT( onResultsChanged() ) );
|
|
||||||
|
|
||||||
connect( query.data(), SIGNAL( resultsRemoved( Tomahawk::result_ptr ) ),
|
|
||||||
SLOT( onResultsChanged() ) );
|
|
||||||
|
|
||||||
connect( query.data(), SIGNAL( resultsChanged() ),
|
connect( query.data(), SIGNAL( resultsChanged() ),
|
||||||
SLOT( onResultsChanged() ) );
|
SLOT( onResultsChanged() ) );
|
||||||
}
|
}
|
||||||
@@ -113,12 +107,6 @@ PlayableItem::PlayableItem( const Tomahawk::plentry_ptr& entry, PlayableItem* pa
|
|||||||
connect( m_query.data(), SIGNAL( updated() ),
|
connect( m_query.data(), SIGNAL( updated() ),
|
||||||
SIGNAL( dataChanged() ) );
|
SIGNAL( dataChanged() ) );
|
||||||
|
|
||||||
connect( m_query.data(), SIGNAL( resultsAdded( QList<Tomahawk::result_ptr> ) ),
|
|
||||||
SLOT( onResultsChanged() ) );
|
|
||||||
|
|
||||||
connect( m_query.data(), SIGNAL( resultsRemoved( Tomahawk::result_ptr ) ),
|
|
||||||
SLOT( onResultsChanged() ) );
|
|
||||||
|
|
||||||
connect( m_query.data(), SIGNAL( resultsChanged() ),
|
connect( m_query.data(), SIGNAL( resultsChanged() ),
|
||||||
SLOT( onResultsChanged() ) );
|
SLOT( onResultsChanged() ) );
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user