1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-12 09:04:33 +02:00

Show error if we failed to get a preview of a station

This commit is contained in:
Leo Franchi
2011-03-19 19:42:19 -04:00
parent c43da4b589
commit 3925e1bd2f

View File

@@ -219,6 +219,8 @@ DynamicModel::filteringTrackResolved( bool successful )
m_lastResolvedRow = rowCount( QModelIndex() ); m_lastResolvedRow = rowCount( QModelIndex() );
} }
} }
if( m_toResolveList.isEmpty() && rowCount( QModelIndex() ) == 0 ) // we failed
emit trackGenerationFailure( tr( "Could not find a playable track.\n\nPlease change the filters or try again." ) );
} }