Skip to content

Commit

Permalink
Merge pull request #11249 from uklotzde/id3v2-comment
Browse files Browse the repository at this point in the history
ID3v2: Fix inconsistent import of comment field
  • Loading branch information
Swiftb0y authored Feb 5, 2023
2 parents 45d46de + 07bb8dc commit 837d7d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/track/taglib/trackmetadata_id3v2.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -712,7 +712,7 @@ void importTrackMetadataFromTag(
readFirstUserTextIdentificationFrame(
tag,
QStringLiteral("COMMENT"));
if (!comment.isNull() || resetMissingTagMetadata) {
if (!comment.isEmpty() || resetMissingTagMetadata) {
pTrackMetadata->refTrackInfo().setComment(comment);
}
}
Expand Down

0 comments on commit 837d7d1

Please sign in to comment.