1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-04-07 17:42:35 +02:00

Progress to next solved track instead of next track with results as some may be offline.

This commit is contained in:
Leo Franchi 2011-03-10 20:24:17 -05:00
parent 288da2be79
commit 8da155bb04

View File

@ -118,7 +118,7 @@ TrackProxyModel::siblingItem( int itemsAway )
{
PlItem* item = itemFromIndex( mapToSource( idx ) );
qDebug() << item->query()->toString();
if ( item && item->query()->numResults() )
if ( item && item->query()->solved() )
{
qDebug() << "Next PlaylistItem found:" << item->query()->toString() << item->query()->results().at( 0 )->url();
setCurrentItem( idx );