From 12025afb83585bd954e3424ad328d2e2d994b89e Mon Sep 17 00:00:00 2001 From: Antonio Napolitano Date: Thu, 1 Feb 2024 13:00:46 +0100 Subject: [PATCH] Fix deprecated TagLib call --- src/track/taglib/trackmetadata_ape.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/track/taglib/trackmetadata_ape.cpp b/src/track/taglib/trackmetadata_ape.cpp index c370c6a7f93d..b4af3b5afbc6 100644 --- a/src/track/taglib/trackmetadata_ape.cpp +++ b/src/track/taglib/trackmetadata_ape.cpp @@ -59,7 +59,7 @@ bool importCoverImageFromTag(QImage* pCoverArt, const TagLib::APE::Tag& tag) { if (tag.itemListMap().contains("COVER ART (FRONT)")) { const TagLib::ByteVector nullStringTerminator(1, 0); TagLib::ByteVector item = - tag.itemListMap()["COVER ART (FRONT)"].value(); + tag.itemListMap()["COVER ART (FRONT)"].binaryData(); int pos = item.find(nullStringTerminator); // skip the filename if (++pos > 0) { const TagLib::ByteVector data(item.mid(pos));