[vlc-commits] Qt: don't confirm overwrite twice on transcode

Francois Cartegnie git at videolan.org
Thu Jan 15 12:05:37 CET 2015


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Thu Jan 15 11:48:51 2015 +0100| [b859fe978b36c8b1f16e239dd4889525d4fae5a1] | committer: Francois Cartegnie

Qt: don't confirm overwrite twice on transcode

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=b859fe978b36c8b1f16e239dd4889525d4fae5a1
---

 modules/gui/qt4/dialogs/convert.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/gui/qt4/dialogs/convert.cpp b/modules/gui/qt4/dialogs/convert.cpp
index b0f3a84..88aa8e3 100644
--- a/modules/gui/qt4/dialogs/convert.cpp
+++ b/modules/gui/qt4/dialogs/convert.cpp
@@ -157,7 +157,7 @@ void ConvertDialog::fileBrowse()
     QString fileName = QFileDialog::getSaveFileName( this, qtr( "Save file..." ),
         p_intf->p_sys->filepath,
         QString( "%1 (*%2);;%3 (*.*)" ).arg( qtr( "Containers" ) )
-            .arg( fileExtension ).arg( qtr("All") ) );
+            .arg( fileExtension ).arg( qtr("All") ), 0, QFileDialog::DontConfirmOverwrite );
     fileLine->setText( toNativeSeparators( fileName ) );
     setDestinationFileExtension();
 }



More information about the vlc-commits mailing list