1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-11 16:44:05 +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

@@ -218,7 +218,9 @@ DynamicModel::filteringTrackResolved( bool successful )
if( m_playlist->mode() == OnDemand ) {
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." ) );
}