mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-10 16:14:40 +02:00
* Update sidebar's queue-item when queue-model's item-count changes.
This commit is contained in:
@@ -37,6 +37,8 @@ QueueItem::QueueItem( SourcesModel* model, SourceTreeItem* parent )
|
||||
{
|
||||
m_text = tr( "Queue" );
|
||||
m_icon = ImageRegistry::instance()->icon( RESPATH "images/queue.svg" );
|
||||
|
||||
connect( ViewManager::instance()->queue()->trackView()->proxyModel(), SIGNAL( itemCountChanged( uint ) ), SIGNAL( updated() ) );
|
||||
}
|
||||
|
||||
|
||||
@@ -137,6 +139,7 @@ QueueItem::supportedDropTypes( const QMimeData* data ) const
|
||||
{
|
||||
return DropTypesNone;
|
||||
}
|
||||
|
||||
return DropTypesNone;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user