diff --git a/src/extractors/taglibextractor.cpp b/src/extractors/taglibextractor.cpp --- a/src/extractors/taglibextractor.cpp +++ b/src/extractors/taglibextractor.cpp @@ -746,11 +746,7 @@ return; } -#if (TAGLIB_MAJOR_VERSION > 1) || (TAGLIB_MAJOR_VERSION == 1 && TAGLIB_MINOR_VERSION >= 11) TagLib::FileRef file(&stream, true); -#else - TagLib::FileRef file(stream.name()); -#endif if (file.isNull()) { qWarning() << "Unable to open file: " << fileUrl; return;