mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-07-31 11:20:22 +02:00
* Support activating queries in Album (Items-)Views.
This commit is contained in:
@@ -144,6 +144,8 @@ AlbumView::onItemActivated( const QModelIndex& index )
|
||||
ViewManager::instance()->show( item->album() );
|
||||
else if ( !item->artist().isNull() )
|
||||
ViewManager::instance()->show( item->artist() );
|
||||
else if ( item->query()->numResults() )
|
||||
AudioEngine::instance()->playItem( playlistinterface_ptr(), item->query()->results().first() );
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user