diff --git a/src/libtomahawk/Query.cpp b/src/libtomahawk/Query.cpp index 5c5ccc1e1..bfa4a2f3d 100644 --- a/src/libtomahawk/Query.cpp +++ b/src/libtomahawk/Query.cpp @@ -403,12 +403,12 @@ Query::resultSorter( const result_ptr& left, const result_ptr& right ) { return false; } - if ( !right->isPreview() ) + if ( left->isPreview() != right->isPreview() ) { - return false; + return !left->isPreview(); } - return true; + return left->resolvedBy()->weight() > right->resolvedBy()->weight(); } if ( left->isPreview() != right->isPreview() )