]> SALOME platform Git repositories - tools/install.git/commitdiff
Salome HOME
Set default path to save an installation log equal to a target directory path instead...
authorakl <akl@opencascade.com>
Fri, 31 Aug 2007 07:44:18 +0000 (07:44 +0000)
committerakl <akl@opencascade.com>
Fri, 31 Aug 2007 07:44:18 +0000 (07:44 +0000)
src/SALOME_InstallWizard.cxx

index bc84ab480f6a59910c30729ba3c421b6a9ab81e1..403011e029bb825f76441bf6ba3c52dd7f6e9ae9 100644 (file)
@@ -2912,6 +2912,7 @@ void SALOME_InstallWizard::saveLog()
   QDateTime dt = QDateTime::currentDateTime();
   QString fileName = dt.toString("ddMMyy-hhmm");
   fileName.prepend("install-"); fileName.append(".html");
+  fileName = QFileInfo( QDir::cleanDirPath( targetFolder->text().stripWhiteSpace() ), fileName ).absFilePath();
   fileName = QFileDialog::getSaveFileName( fileName,
                                           QString( "HTML files (*.htm *.html)" ),
                                           this, 0,