mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-07-30 19:00:12 +02:00
* PlayableItem needs to hook up to the proxied signals.
This commit is contained in:
@@ -75,6 +75,15 @@ PlayableItem::PlayableItem( const Tomahawk::result_ptr& result, PlayableItem* pa
|
||||
{
|
||||
init( parent, row );
|
||||
|
||||
connect( result->track().data(), SIGNAL( socialActionsLoaded() ),
|
||||
SIGNAL( dataChanged() ) );
|
||||
|
||||
connect( result->track().data(), SIGNAL( attributesLoaded() ),
|
||||
SIGNAL( dataChanged() ) );
|
||||
|
||||
connect( result->track().data(), SIGNAL( updated() ),
|
||||
SIGNAL( dataChanged() ) );
|
||||
|
||||
connect( result.data(), SIGNAL( updated() ),
|
||||
SIGNAL( dataChanged() ) );
|
||||
}
|
||||
@@ -89,6 +98,9 @@ PlayableItem::PlayableItem( const Tomahawk::query_ptr& query, PlayableItem* pare
|
||||
connect( query->track().data(), SIGNAL( socialActionsLoaded() ),
|
||||
SIGNAL( dataChanged() ) );
|
||||
|
||||
connect( query->track().data(), SIGNAL( attributesLoaded() ),
|
||||
SIGNAL( dataChanged() ) );
|
||||
|
||||
connect( query->track().data(), SIGNAL( updated() ),
|
||||
SIGNAL( dataChanged() ) );
|
||||
|
||||
@@ -107,6 +119,9 @@ PlayableItem::PlayableItem( const Tomahawk::plentry_ptr& entry, PlayableItem* pa
|
||||
connect( m_query->track().data(), SIGNAL( socialActionsLoaded() ),
|
||||
SIGNAL( dataChanged() ) );
|
||||
|
||||
connect( m_query->track().data(), SIGNAL( attributesLoaded() ),
|
||||
SIGNAL( dataChanged() ) );
|
||||
|
||||
connect( m_query->track().data(), SIGNAL( updated() ),
|
||||
SIGNAL( dataChanged() ) );
|
||||
|
||||
|
Reference in New Issue
Block a user