issue #0002973: Path to FreeCAD.app can't contain unicode

This commit is contained in:
wmayer
2017-12-02 19:37:05 +01:00
parent e387c88920
commit 6ed21609e4
3 changed files with 4 additions and 3 deletions

View File

@@ -2473,7 +2473,8 @@ std::string Application::FindHomePath(const char* sCall)
#else
QString str = QString::fromStdWString(homePath);
#endif
return str.toStdString();
// convert to utf-8
return str.toUtf8().data();
}
#else