Qt4 - Fix a Sout bug - spotted by humbleb on IRC
authorJean-Baptiste Kempf <jb@videolan.org>
Thu, 11 Oct 2007 20:11:03 +0000 (20:11 +0000)
committerJean-Baptiste Kempf <jb@videolan.org>
Thu, 11 Oct 2007 20:11:03 +0000 (20:11 +0000)
modules/gui/qt4/dialogs/sout.cpp

index a5e84fd..acc5702 100644 (file)
@@ -138,7 +138,7 @@ QString SoutDialog::getMrl()
 void SoutDialog::fileBrowse()
 {
     ui.tabWidget->setTabEnabled( 0,false );
-    QString fileName = QFileDialog::getOpenFileName( this, qtr( "Save file" ), "",
+    QString fileName = QFileDialog::getSaveFileName( this, qtr( "Save file" ), "",
         qtr( "Containers (*.ps *.ts *.mpg *.ogg *.asf *.mp4 *.mov *.wav *.raw *.flv)" ) );
     ui.fileEdit->setText( fileName );
     updateMRL();