Gui: [skip ci] fix unicode handling when showing units in status bar

This commit is contained in:
wmayer
2020-06-04 16:27:58 +02:00
parent 7fffe88433
commit 515250485e
3 changed files with 6 additions and 6 deletions

View File

@@ -415,7 +415,7 @@ SoFCSelection::handleEvent(SoHandleEventAction * action)
,pts[1].first, pts[1].second.c_str()
,pts[2].first, pts[2].second.c_str());
getMainWindow()->showMessage(QString::fromLatin1(buf));
getMainWindow()->showMessage(QString::fromUtf8(buf));
}
else { // picked point
if (highlighted) {