]> SALOME platform Git repositories - modules/visu.git/commitdiff
Salome HOME
File dialog for the recorder is corrected.
authorouv <ouv@opencascade.com>
Fri, 2 Dec 2005 12:55:11 +0000 (12:55 +0000)
committerouv <ouv@opencascade.com>
Fri, 2 Dec 2005 12:55:11 +0000 (12:55 +0000)
src/VVTK/VVTK_MainWindow.cxx

index a7c21ee5512a05970fe4462e5a3e29bef9d9894c..6c84a8a9df67b22002792a996b2433d80f12d4f6 100644 (file)
@@ -156,7 +156,7 @@ VVTK_MainWindow
 void VVTK_MainWindow::OnStartRecording()
 {
   //QString aFileName = "/data/pkv/IMAGES/TMP/abc";
-  QString aFileName=QFileDialog::getOpenFileName( "/", "*.avi", this );
+  QString aFileName=QFileDialog::getSaveFileName( getenv( "VISU_ROOT_DIR"), "*.avi", this );
   if( aFileName.isNull() ){
     return;
   }