mirror of
https://github.com/strawberrymusicplayer/strawberry
synced 2024-12-28 01:01:21 +01:00
parent
e97acf7938
commit
9b60559855
@ -1041,7 +1041,7 @@ void Song::InitFromFilePartial(const QString &filename) {
|
||||
QFileInfo info(filename);
|
||||
d->basefilename_ = info.fileName();
|
||||
|
||||
TagLib::FileRef fileref(filename.toUtf8().constData());
|
||||
TagLib::FileRef fileref(QFile::encodeName(filename).constData());
|
||||
if (fileref.file()) {
|
||||
d->valid_ = true;
|
||||
d->source_ = Source_LocalFile;
|
||||
|
Loading…
Reference in New Issue
Block a user