mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-05 21:57:41 +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() );
|
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