From fc9f03f0d93e26f0845d33ce144e794983827f51 Mon Sep 17 00:00:00 2001 From: eap Date: Tue, 29 Jan 2008 13:46:48 +0000 Subject: [PATCH] PAL18696 SMESH : version of MED export use GetVersionString(SMESH::MED_VERSION version, CORBA::Short nbDigits); --- src/SMESHGUI/SMESHGUI.cxx | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) 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: -- 2.39.2