Skip to content

Commit

Permalink
Fixed issue with file encoding for legend.
Browse files Browse the repository at this point in the history
  • Loading branch information
albar965 committed May 31, 2018
1 parent 9838680 commit 64aa0a4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/gui/mainwindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -384,6 +384,7 @@ void MainWindow::loadNavmapLegend()
if(legend.open(QIODevice::ReadOnly))
{
QTextStream stream(&legend);
stream.setCodec("UTF-8");
legendText.append(stream.readAll());

QString searchPath = QCoreApplication::applicationDirPath() + QDir::separator() + "help";
Expand Down

0 comments on commit 64aa0a4

Please sign in to comment.