From: Christophe Bourcier Date: Wed, 9 Nov 2022 13:38:26 +0000 (+0100) Subject: Fix warning when loading SMESH plugins resources X-Git-Tag: V9_10_0b1~3 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=ffb7bc83597219ba81fc9504dc2e5724fec73454;p=modules%2Fsmesh.git Fix warning when loading SMESH plugins resources --- diff --git a/src/SMESHGUI/SMESHGUI_XmlHandler.cxx b/src/SMESHGUI/SMESHGUI_XmlHandler.cxx index 1fcc7ca67..7a42f9d55 100644 --- a/src/SMESHGUI/SMESHGUI_XmlHandler.cxx +++ b/src/SMESHGUI/SMESHGUI_XmlHandler.cxx @@ -109,7 +109,7 @@ bool SMESHGUI_XmlHandler::startElement (const QString&, const QString&, SUIT_ResourceMgr* resMgr = SMESHGUI::resourceMgr(); QString lang = resMgr->stringValue( resMgr->langSection(), "language", "en" ); resMgr->loadTranslator( "resources", QString( "%1_msg_%2.qm" ).arg( aResName, lang ) ); - resMgr->loadTranslator( "resources", QString( "%1_images.qm" ).arg( aResName, lang ) ); + resMgr->loadTranslator( "resources", QString( "%1_images.qm" ).arg( aResName ) ); } } }