1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-09-09 05:30:52 +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 c20ebbb8bd
commit 2b6bc8f8d3

View File

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