From dc8afa0d9a06e646fbbf7f7481d9f3d11b87d4dc Mon Sep 17 00:00:00 2001 From: vsr Date: Fri, 18 Apr 2008 15:13:01 +0000 Subject: [PATCH] Fix pb with "use_salome_style" config option --- src/Session/SALOME_Session_Server.cxx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Session/SALOME_Session_Server.cxx b/src/Session/SALOME_Session_Server.cxx index 322341418..72a74fd3e 100755 --- a/src/Session/SALOME_Session_Server.cxx +++ b/src/Session/SALOME_Session_Server.cxx @@ -623,6 +623,8 @@ int main( int argc, char **argv ) { // Set SALOME style to the application SUIT_ResourceMgr resMgr( "SalomeApp", QString( "%1Config" ) ); + resMgr.setCurrentFormat( "xml" ); + resMgr.loadLanguage( false, "LightApp", "en" ); if ( bool isSSUse = resMgr.booleanValue( "Style", "use_salome_style", true ) ) { Style_Salome* aStyle = new Style_Salome(); -- 2.39.2