]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
Fix pb with "use_salome_style" config option
authorvsr <vsr@opencascade.com>
Fri, 18 Apr 2008 15:13:01 +0000 (15:13 +0000)
committervsr <vsr@opencascade.com>
Fri, 18 Apr 2008 15:13:01 +0000 (15:13 +0000)
src/Session/SALOME_Session_Server.cxx

index 322341418791b9e7b01025d3c29d08cfb00bc9f5..72a74fd3e211cb484d2da2a3b348b9588725a3e7 100755 (executable)
@@ -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();