From ffb7bc83597219ba81fc9504dc2e5724fec73454 Mon Sep 17 00:00:00 2001 From: Christophe Bourcier Date: Wed, 9 Nov 2022 14:38:26 +0100 Subject: [PATCH] Fix warning when loading SMESH plugins resources --- src/SMESHGUI/SMESHGUI_XmlHandler.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ) ); } } } -- 2.39.2