mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-07-30 19:00:12 +02:00
* TreeView now tries to fallback to playing a query when there's no online result.
This commit is contained in:
@@ -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() );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user