mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-03-20 07:49:42 +01:00
* TreeView now tries to fallback to playing a query when there's no online result.
This commit is contained in:
parent
bac515990f
commit
12bea3708b
@ -243,6 +243,10 @@ TreeView::onItemActivated( const QModelIndex& index )
|
||||
{
|
||||
AudioEngine::instance()->playItem( m_proxyModel->playlistInterface(), item->result() );
|
||||
}
|
||||
else if ( !item->query().isNull() )
|
||||
{
|
||||
AudioEngine::instance()->playItem( m_proxyModel->playlistInterface(), item->query() );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user