Salome HOME
Porting to Qt4.
[modules/geom.git] / src / PrimitiveGUI / PrimitiveGUI_TorusDlg.cxx
index a63694a39fad9f542d15aabb5829d2cceb3b9451..df973503ac654f75d52356161df6ec6a9f49ae82 100644 (file)
@@ -153,7 +153,7 @@ void PrimitiveGUI_TorusDlg::Init()
   connect(((SalomeApp_Application*)(SUIT_Session::session()->activeApplication()))->selectionMgr(), 
          SIGNAL(currentSelectionChanged()), this, SLOT(SelectionIntoArgument())) ;
   
-  initName( tr( "GEOM_TORUS" ).toStdString().c_str() );
+  initName( tr( "GEOM_TORUS" ).toLatin1().constData() );
   ConstructorsClicked(0);
 }