mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-03-21 16:29:43 +01:00
* Support activating queries in Album (Items-)Views.
This commit is contained in:
parent
f40500452b
commit
906e1147e5
@ -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() );
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user