Salome HOME
coefficient d'allongement pour un cône
[modules/shaper.git] / src / ModuleBase / ModuleBase_WidgetConcealedObjects.cpp
index 2e28a3f93fae170d96148106cc9f721dfabcbd34..e4072ca1fed01f70dce1894ad7ec72b391083a11 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2022  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
@@ -160,7 +160,8 @@ void ModuleBase_WidgetConcealedObjects::addViewRow(
   aVisibilityBtn->setChecked(false);
 
   myView->setCellWidget(anId, 0, aVisibilityWdg);
-  myView->setItem(anId, 1, new QTableWidgetItem(theResult->data()->name().c_str()));
+  myView->setItem(anId, 1,
+    new QTableWidgetItem(QString::fromStdWString(theResult->data()->name())));
 
   if (anId == 1) {
     myView->setColumnWidth(0, myView->verticalHeader()->defaultSectionSize());