From: eap Date: Tue, 29 Jan 2008 13:46:48 +0000 (+0000) Subject: PAL18696 SMESH : version of MED export X-Git-Tag: for_M2008_07022008~11 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=fc9f03f0d93e26f0845d33ce144e794983827f51;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 8fd1bb714..63ad64e37 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: