extras: fix compilation with taglib 2.0

This commit is contained in:
Andrzej Rybczak
2024-05-30 14:58:09 +02:00
parent dc46f7a49b
commit 81e5cf58b4

View File

@@ -34,7 +34,7 @@ enum class CopyResult { Success, NoArtist, AlbumArtistAlreadyInPlace };
bool is_framelist_empty(const TagLib::ID3v2::FrameList &list) bool is_framelist_empty(const TagLib::ID3v2::FrameList &list)
{ {
for (auto it = list.begin(); it != list.end(); ++it) for (auto it = list.begin(); it != list.end(); ++it)
if ((*it)->toString() != TagLib::String::null) if (!(*it)->toString().isEmpty())
return false; return false;
return true; return true;
} }