From ef748ebbbe538328b5ecc4ec2882614fcad2c753 Mon Sep 17 00:00:00 2001 From: trialuser02 Date: Sun, 1 Nov 2020 20:27:50 +0000 Subject: fixed build with TagLib 1.11 git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@9552 90c681e8-e032-0410-971d-27865f9a5e38 --- src/plugins/General/converter/converter.cpp | 2 +- src/plugins/General/rgscan/rgscandialog.cpp | 2 +- src/plugins/Input/mpeg/mpegmetadatamodel.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/plugins/General/converter/converter.cpp b/src/plugins/General/converter/converter.cpp index 37a157814..b81d4146e 100644 --- a/src/plugins/General/converter/converter.cpp +++ b/src/plugins/General/converter/converter.cpp @@ -265,7 +265,7 @@ void Converter::run() if(full_path.endsWith(".mp3", Qt::CaseInsensitive)) { TagLib::MPEG::File *mpeg_file = dynamic_cast (file.file()); - mpeg_file->save(TagLib::MPEG::File::ID3v2, TagLib::File::StripOthers); + mpeg_file->save(TagLib::MPEG::File::ID3v2, true); } else file.save(); diff --git a/src/plugins/General/rgscan/rgscandialog.cpp b/src/plugins/General/rgscan/rgscandialog.cpp index 710a3e047..c9376ba00 100644 --- a/src/plugins/General/rgscan/rgscandialog.cpp +++ b/src/plugins/General/rgscan/rgscandialog.cpp @@ -395,7 +395,7 @@ void RGScanDialog::on_writeButton_clicked() TagLib::MPEG::File file(qPrintable(item->url)); writeAPETag(file.APETag(true), item); writeID3v2Tag(file.ID3v2Tag(true), item); - file.save(TagLib::MPEG::File::APE | TagLib::MPEG::File::ID3v2, TagLib::File::StripNone); + file.save(TagLib::MPEG::File::APE | TagLib::MPEG::File::ID3v2, false); } else if(ext == "flac") //flac { diff --git a/src/plugins/Input/mpeg/mpegmetadatamodel.cpp b/src/plugins/Input/mpeg/mpegmetadatamodel.cpp index c672f39ce..68f86d779 100644 --- a/src/plugins/Input/mpeg/mpegmetadatamodel.cpp +++ b/src/plugins/Input/mpeg/mpegmetadatamodel.cpp @@ -409,7 +409,7 @@ void MpegFileTagModel::remove() void MpegFileTagModel::save() { if(m_tag) - m_file->save(m_tagType, TagLib::File::StripNone); + m_file->save(m_tagType, false); else m_file->strip(m_tagType); } -- cgit v1.2.3-13-gbd6f