Salome HOME
Dump Puthon extension
[modules/smesh.git] / src / SMESHGUI / SMESHGUI_MeshOp.cxx
index 5f37e57621c459566946dad6f5f5977f03b1fd4b..1aeacf8048ff43c29ddfbf33b49d2aeb66c00963 100644 (file)
@@ -594,8 +594,7 @@ void SMESHGUI_MeshOp::selectionDone()
         // a global algorithm that does not support submeshes
         if ( char* algoName = isSubmeshIgnored() ) {
           SUIT_MessageBox::warning( myDlg, tr( "SMESH_ERROR" ),
-                                    tr(QString("SUBMESH_NOT_ALLOWED")
-                                       .toLatin1().data() ).arg(algoName));
+                                    tr("SUBMESH_NOT_ALLOWED").arg(algoName));
           CORBA::string_free( algoName );
           myDlg->selectObject( "", SMESHGUI_MeshDlg::Mesh, "" );
           selectObject( _PTR(SObject)() );