]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
[SALOME platform 0013410]: SubMesh not taken into account with Netgen 1D-2D et 1D...
authoreap <eap@opencascade.com>
Tue, 16 Sep 2008 11:57:30 +0000 (11:57 +0000)
committereap <eap@opencascade.com>
Tue, 16 Sep 2008 11:57:30 +0000 (11:57 +0000)
  remove extra code

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)() );