diff options
author | Max Kellermann <max@duempel.org> | 2014-06-23 10:13:50 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2014-06-23 10:13:50 +0200 |
commit | fa1fb47d7553a15f8bde1636364c0e6dba57c39c (patch) | |
tree | d458b289b803690651efa0759852df812de274eb /src/SongFilter.cxx | |
parent | b9eeb6e6eb1818c591634abf5e25e6a8bb8e89fd (diff) | |
parent | 848ed1478866e4d99c10aa962a6d976a6b989536 (diff) |
Merge branch 'v0.18.x'
Diffstat (limited to 'src/SongFilter.cxx')
-rw-r--r-- | src/SongFilter.cxx | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/SongFilter.cxx b/src/SongFilter.cxx index 432280e4e..0640ae19e 100644 --- a/src/SongFilter.cxx +++ b/src/SongFilter.cxx @@ -214,6 +214,16 @@ SongFilter::Match(const LightSong &song) const return true; } +bool +SongFilter::HasOtherThanBase() const +{ + for (const auto &i : items) + if (i.GetTag() != LOCATE_TAG_BASE_TYPE) + return true; + + return false; +} + std::string SongFilter::GetBase() const { |