mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-07 22:56:42 +02:00
* Don't return unresolved queries when proxy-model is supposed to filter out offline / unplayable tracks.
This commit is contained in:
@@ -128,7 +128,7 @@ PlayableProxyModel::filterAcceptsRow( int sourceRow, const QModelIndex& sourcePa
|
||||
if ( q->numResults() )
|
||||
r = q->results().first();
|
||||
|
||||
if ( !m_showOfflineResults && !r.isNull() && !r->isOnline() )
|
||||
if ( !m_showOfflineResults && ( r.isNull() || !r->isOnline() ) )
|
||||
return false;
|
||||
|
||||
if ( filterRegExp().isEmpty() )
|
||||
|
Reference in New Issue
Block a user