]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Issue #3275: Cannot load script. Unicode error
authorArtem Zhidkov <Artem.Zhidkov@gmail.com>
Wed, 29 Jul 2020 09:21:51 +0000 (12:21 +0300)
committerArtem Zhidkov <Artem.Zhidkov@gmail.com>
Wed, 29 Jul 2020 09:21:51 +0000 (12:21 +0300)
src/SHAPERGUI/SHAPERGUI_DataModel.cpp

index ebb553221e09192041e3c06aa5102ab20ddec376..e6a397b49ec585401c65e1418aa11c6e593a7225 100644 (file)
@@ -230,7 +230,7 @@ bool SHAPERGUI_DataModel::dumpPython(const QString& thePath, CAM_Study* theStudy
         return false;
 
       QTextStream aOut(&aOutFile);
-      aOut << aTrace.toStdString().c_str() << "\n";
+      aOut << aTrace << "\n";
       aOut.flush();
       aOutFile.close();