1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-03-20 07:49:42 +01:00

Show error when a preview fails to load for a station

This commit is contained in:
Leo Franchi 2011-10-20 18:02:52 -04:00
parent be737a24f2
commit 0e213abfd4

View File

@ -214,6 +214,8 @@ DynamicModel::tracksGenerated( const QList< query_ptr > entries, int limitResolv
m_lastResolvedRow = rowCount( QModelIndex() );
}
}
if ( m_playlist->mode() == OnDemand && entries.isEmpty() )
emit trackGenerationFailure( tr( "Failed to generate preview with the desired filters" ) );
}