From: ouv Date: Fri, 2 Dec 2005 12:55:11 +0000 (+0000) Subject: File dialog for the recorder is corrected. X-Git-Tag: TG-D5-38-2003_D2005-20-12~78 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=545c27020041ad8a191e6cc1a2751401d06fe880;p=modules%2Fvisu.git File dialog for the recorder is corrected. --- diff --git a/src/VVTK/VVTK_MainWindow.cxx b/src/VVTK/VVTK_MainWindow.cxx index a7c21ee5..6c84a8a9 100644 --- a/src/VVTK/VVTK_MainWindow.cxx +++ b/src/VVTK/VVTK_MainWindow.cxx @@ -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; }