mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-12 00:54:20 +02:00
Show error if we failed to get a preview of a station
This commit is contained in:
@@ -218,7 +218,9 @@ DynamicModel::filteringTrackResolved( bool successful )
|
|||||||
if( m_playlist->mode() == OnDemand ) {
|
if( m_playlist->mode() == OnDemand ) {
|
||||||
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." ) );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user