mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-07-31 11:20:22 +02:00
* Fixed PlaylistInterface ignoring offline results.
This commit is contained in:
@@ -158,14 +158,16 @@ PlaylistInterface::filterTracks( const QList<Tomahawk::query_ptr>& queries )
|
||||
bool
|
||||
PlaylistInterface::hasNextResult() const
|
||||
{
|
||||
return ( siblingResult( 1 ) );
|
||||
Tomahawk::result_ptr r = siblingResult( 1 );
|
||||
return ( r && r->isOnline() );
|
||||
}
|
||||
|
||||
|
||||
bool
|
||||
PlaylistInterface::hasPreviousResult() const
|
||||
{
|
||||
return ( siblingResult( -1 ) );
|
||||
Tomahawk::result_ptr r = siblingResult( -1 );
|
||||
return ( r && r->isOnline() );
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user