extras: fix compilation with taglib 2.0
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user