mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-03-25 02:09:48 +01:00
* Fixed PlaylistInterface ignoring offline results.
This commit is contained in:
parent
a21c73712a
commit
51c184d62f
@ -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() );
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user