mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-05 05:37:29 +02:00
Progress to next solved track instead of next track with results as some may be offline.
This commit is contained in:
@@ -118,7 +118,7 @@ TrackProxyModel::siblingItem( int itemsAway )
|
|||||||
{
|
{
|
||||||
PlItem* item = itemFromIndex( mapToSource( idx ) );
|
PlItem* item = itemFromIndex( mapToSource( idx ) );
|
||||||
qDebug() << item->query()->toString();
|
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();
|
qDebug() << "Next PlaylistItem found:" << item->query()->toString() << item->query()->results().at( 0 )->url();
|
||||||
setCurrentItem( idx );
|
setCurrentItem( idx );
|
||||||
|
Reference in New Issue
Block a user