mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-05 21:57:41 +02:00
Show error when a preview fails to load for a station
This commit is contained in:
@@ -214,6 +214,8 @@ DynamicModel::tracksGenerated( const QList< query_ptr > entries, int limitResolv
|
|||||||
m_lastResolvedRow = rowCount( QModelIndex() );
|
m_lastResolvedRow = rowCount( QModelIndex() );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if ( m_playlist->mode() == OnDemand && entries.isEmpty() )
|
||||||
|
emit trackGenerationFailure( tr( "Failed to generate preview with the desired filters" ) );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user