From f4a9888b7c42eb67994309dfc209b5d26118190e Mon Sep 17 00:00:00 2001 From: mpv Date: Wed, 10 Nov 2010 15:02:20 +0000 Subject: [PATCH] MPV: remove "TRIPOLI" name of the variable for license file location --- src/SUIT/SUIT_LicenseDlg.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/SUIT/SUIT_LicenseDlg.cxx b/src/SUIT/SUIT_LicenseDlg.cxx index fee356fa5..77b01f9a6 100755 --- a/src/SUIT/SUIT_LicenseDlg.cxx +++ b/src/SUIT/SUIT_LicenseDlg.cxx @@ -48,10 +48,10 @@ SUIT_LicenseDlg::SUIT_LicenseDlg( bool firstShow, QWidget* parent, const char* n setObjectName( name ); setModal( modal ); QString env; - if ( ::getenv( "TRIPOLI_ROOT_DIR" ) ) - env = ::getenv( "TRIPOLI_ROOT_DIR" ); + if ( ::getenv( "SALOME_LICENSE_FILE" ) ) + env = ::getenv( "SALOME_LICENSE_FILE" ); - QFile file( env + "/share/salome/resources/tripoli/License.txt" ); // Read the text from a file + QFile file( env ); // Read the text from a file if ( !file.exists() || !file.open( QIODevice::ReadOnly ) ) return; -- 2.39.2