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;