]> SALOME platform Git repositories - modules/gui.git/commit
Salome HOME
IPAL16919 (Wrong "Warning" appears after closing of dlg to select profile of the...
authorakl <akl@opencascade.com>
Thu, 13 Sep 2007 08:35:23 +0000 (08:35 +0000)
committerakl <akl@opencascade.com>
Thu, 13 Sep 2007 08:35:23 +0000 (08:35 +0000)
commit0fce3375a851e41fca79eedd5c20b8df74a185a5
tree415dd32617a0da1b894a8a273eb4ffbe90a46fe5
parent1e22762b5656c8325e9256ea41cbe522c86480a0
IPAL16919 (Wrong "Warning" appears after closing of dlg to select profile of the browser to show docs):
- QString aCommand;
- aCommand.sprintf("%s %s %s",myApp.latin1(),myParams.latin1(),myHelpFile.latin1());
- myStatus = system(aCommand);
+ QProcess* proc = new QProcess();
+ proc->addArgument( myApp );
+ if (!myParams.isEmpty()) proc->addArgument( myParams );
+ proc->addArgument( myHelpFile );
+ myStatus = proc->start();
src/LightApp/LightApp_Application.cxx