1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-06 14:16:32 +02:00

* Don't prioritize album-less tracks in edge cases.

This commit is contained in:
Christian Muehlhaeuser
2011-12-05 09:42:00 +01:00
parent 7e6b543a70
commit 7b4d08a7f5

View File

@@ -459,7 +459,7 @@ Query::howSimilar( const Tomahawk::result_ptr& r )
else else
{ {
// don't penalize for missing album name // don't penalize for missing album name
if ( m_albumSortname.isEmpty() || rAlbumname.isEmpty() ) if ( m_albumSortname.isEmpty() )
dcalb = 1.0; dcalb = 1.0;
// weighted, so album match is worth less than track title // weighted, so album match is worth less than track title