Skip to content

Commit d21bbe4

Browse files
committed
fix LFA
1 parent 2db67b3 commit d21bbe4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/apps/LyricFA/util/MatchLyric.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ namespace LyricFA {
2727
MatchLyric::~MatchLyric() = default;
2828

2929
static QString get_lyrics_from_txt(const QString &lyricPath) {
30-
QFile lyricFile(lyricPath.toLocal8Bit());
30+
QFile lyricFile(lyricPath);
3131
if (lyricFile.open(QIODevice::ReadOnly | QIODevice::Text)) {
3232
auto words = QString::fromUtf8(lyricFile.readAll());
3333
words.remove(QRegularExpression(u8"[^\u4E00-\u9FFF\u3400-\u4DBF\uF900-\uFAFF]"));

0 commit comments

Comments
 (0)