Skip to content

Commit

Permalink
Fix wrong encoding for lux parser on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
coslyk committed May 4, 2022
1 parent 27b151e commit 05552ef
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/parserLux.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -70,11 +70,6 @@ void ParserLux::parseOutput()
{
QByteArray output = m_process.readAllStandardOutput();

#ifdef Q_OS_WIN
// Convert to UTF-8 on Windows
output = QString::fromLocal8Bit(output).toUtf8();
#endif

// Parse JSON
QJsonParseError json_error;
QJsonDocument document = QJsonDocument::fromJson(output, &json_error);
Expand Down

0 comments on commit 05552ef

Please sign in to comment.