db/Selection: refactor IsEmpty() to IsFiltered()

This commit is contained in:
Max Kellermann
2022-02-14 09:16:02 +01:00
parent af3a625f64
commit edbaea8df2
3 changed files with 4 additions and 4 deletions

View File

@@ -992,7 +992,7 @@ ProxyDatabase::Visit(const DatabaseSelection &selection,
visit_song);
if (!visit_directory && !visit_playlist && selection.recursive &&
!selection.IsEmpty()) {
selection.IsFiltered()) {
/* this optimized code path can only be used under
certain conditions */
::SearchSongs(connection, selection, visit_song);