From 7b4d08a7f5d5ab138b27839157986cc7fc69c818 Mon Sep 17 00:00:00 2001 From: Christian Muehlhaeuser Date: Mon, 5 Dec 2011 09:42:00 +0100 Subject: [PATCH] * Don't prioritize album-less tracks in edge cases. --- src/libtomahawk/query.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libtomahawk/query.cpp b/src/libtomahawk/query.cpp index f9f7a82c4..74e61ba8a 100644 --- a/src/libtomahawk/query.cpp +++ b/src/libtomahawk/query.cpp @@ -459,7 +459,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