Salome HOME
Unicode support: correct handling of unicode on GUI level
[modules/geom.git] / src / GenerationGUI / GenerationGUI_RevolDlg.cxx
index 5019de5457ff9c1d5208365135cefc762f01c687..13ba637a326de0b399e0015f20756ae1e292e89b 100644 (file)
@@ -329,7 +329,7 @@ bool GenerationGUI_RevolDlg::execute (ObjectList& objects)
       if (!IsPreview()) {
         QStringList aParameters;
         aParameters << GroupPoints->SpinBox_DX->text();
-        anObj->SetParameters(aParameters.join(":").toLatin1().constData());
+        anObj->SetParameters(aParameters.join(":").toUtf8().constData());
       }
       objects.push_back(anObj._retn());
     }