From 6cf793f7f7f5294e059c34a91575c0dba354f79b Mon Sep 17 00:00:00 2001 From: GERALD NICOLAS Date: Thu, 28 May 2020 16:24:33 +0200 Subject: [PATCH] impressions --- src/HOMARDGUI/HOMARDGUI.cxx | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/HOMARDGUI/HOMARDGUI.cxx b/src/HOMARDGUI/HOMARDGUI.cxx index 8a726faa..d371147e 100644 --- a/src/HOMARDGUI/HOMARDGUI.cxx +++ b/src/HOMARDGUI/HOMARDGUI.cxx @@ -281,9 +281,14 @@ void HOMARDGUI::recupPreferences() // B. Les valeurs // B.1. La langue // + SUIT_ResourceMgr* resMgr0 = getApp()->resourceMgr(); + QString lang = resMgr0->stringValue( resMgr0->langSection(), "language", "en" ); + INFOS ("Récupération de lang = " << lang.toStdString().c_str() ); defaut_s = homardGen->GetLanguageShort(); + INFOS ("Récupération de defaut_s = " << defaut_s.c_str() ); SUIT_ResourceMgr* resMgr = getApp()->resourceMgr(); _LanguageShort = resMgr->stringValue("language", "language", QString(defaut_s.c_str()) ); + INFOS ("Récupération de LanguageShort = " << _LanguageShort.toStdString().c_str() ); // // B.2. Les publications bool publish_mesh ; -- 2.39.2