From 545c27020041ad8a191e6cc1a2751401d06fe880 Mon Sep 17 00:00:00 2001 From: ouv Date: Fri, 2 Dec 2005 12:55:11 +0000 Subject: [PATCH] File dialog for the recorder is corrected. --- src/VVTK/VVTK_MainWindow.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.39.2