]> git.sesse.net Git - vlc/commitdiff
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 a5e84fd9ae918ed1d45df6352b35d49a6e00dfbc..acc57024f44be3e02997df8804c6c4c474ef9caf 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();