From e756f2d686d3932682958fc19ad8133dcdcd8792 Mon Sep 17 00:00:00 2001 From: Lukas Prediger Date: Mon, 17 May 2021 22:56:33 +0300 Subject: [PATCH] CddaSongLoader: explicitly reading discid as UTF8 --- src/devices/cddasongloader.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/devices/cddasongloader.cpp b/src/devices/cddasongloader.cpp index bbad987ea..42d3d82f4 100644 --- a/src/devices/cddasongloader.cpp +++ b/src/devices/cddasongloader.cpp @@ -156,7 +156,7 @@ void CddaSongLoader::LoadSongsFromCdda() { char* string_mb = nullptr; if (gst_tag_list_get_string(tags, GST_TAG_CDDA_MUSICBRAINZ_DISCID, &string_mb)) { - QString musicbrainz_discid(string_mb); + QString musicbrainz_discid = QString::fromUtf8(string_mb); g_free(string_mb); qLog(Info) << "MusicBrainz discid: " << musicbrainz_discid;