mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-13 09:34:53 +02:00
fix grammar when only 1 non-artist filter
This commit is contained in:
@@ -384,7 +384,8 @@ EchonestGenerator::sentenceSummary()
|
||||
/// end case: if this is the last AND there is not a sorting filter (so this is the real last one)
|
||||
const bool last = ( i == allcontrols.size() - 1 && sorting.isNull() );
|
||||
QString prefix, suffix;
|
||||
if( last ) {
|
||||
if( last ) { // only if there is not just 1
|
||||
if( !( artists.isEmpty() && allcontrols.size() == 1 ) )
|
||||
prefix = "and ";
|
||||
suffix = ".";
|
||||
} else
|
||||
|
Reference in New Issue
Block a user