From: eap Date: Tue, 29 Jan 2008 13:47:14 +0000 (+0000) Subject: PAL18696 SMESH : version of MED export X-Git-Tag: V3_2_10~19 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=1d06c49b60e40cc2fbaaccb483f048aaaaebc774;p=modules%2Fsmesh.git PAL18696 SMESH : version of MED export use GetVersionString(SMESH::MED_VERSION version, CORBA::Short nbDigits); --- diff --git a/src/SMESHGUI/SMESHGUI.cxx b/src/SMESHGUI/SMESHGUI.cxx index 10072eced..1a952b542 100644 --- a/src/SMESHGUI/SMESHGUI.cxx +++ b/src/SMESHGUI/SMESHGUI.cxx @@ -278,9 +278,11 @@ using namespace std; if (aRet) return; } - - aFilterMap.insert( QObject::tr("MED 2.1 (*.med)"), SMESH::MED_V2_1 ); - aFilterMap.insert( QObject::tr("MED 2.2 (*.med)"), SMESH::MED_V2_2 ); + // PAL18696 + QString v21( aMesh->GetVersionString( SMESH::MED_V2_1, 2)); + QString v22( aMesh->GetVersionString( SMESH::MED_V2_2, 2)); + aFilterMap.insert( QString("MED ") + v21 + " (*.med)", SMESH::MED_V2_1 ); + aFilterMap.insert( QString("MED ") + v22 + " (*.med)", SMESH::MED_V2_2 ); } break; case 124: