From: vsr Date: Fri, 25 Dec 2009 13:26:22 +0000 (+0000) Subject: Set organization name, application name, application version for QSettings (required... X-Git-Tag: V6_0_0 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=refs%2Fheads%2FBR_PARAVIS_LOT1_2;p=modules%2Fgui.git Set organization name, application name, application version for QSettings (required for PARAVIS module) --- diff --git a/src/Session/SALOME_Session_Server.cxx b/src/Session/SALOME_Session_Server.cxx index d56edde6e..b9fdb1525 100755 --- a/src/Session/SALOME_Session_Server.cxx +++ b/src/Session/SALOME_Session_Server.cxx @@ -347,6 +347,9 @@ int main( int argc, char **argv ) // Create Qt application instance; // this should be done the very first! SALOME_QApplication _qappl( argc, argv ); + _qappl.setOrganizationName( "SALOME" ); + _qappl.setApplicationName( "SALOME" ); + _qappl.setApplicationVersion( salomeVersion() ); // Add application library path (to search style plugin etc...) QString path = QDir::convertSeparators( SUIT_Tools::addSlash( QString( ::getenv( "GUI_ROOT_DIR" ) ) ) + QString( "bin/salome" ) );