Commit b859fe97 authored by Francois Cartegnie's avatar Francois Cartegnie

Qt: don't confirm overwrite twice on transcode

parent c8feccf0
...@@ -157,7 +157,7 @@ void ConvertDialog::fileBrowse() ...@@ -157,7 +157,7 @@ void ConvertDialog::fileBrowse()
QString fileName = QFileDialog::getSaveFileName( this, qtr( "Save file..." ), QString fileName = QFileDialog::getSaveFileName( this, qtr( "Save file..." ),
p_intf->p_sys->filepath, p_intf->p_sys->filepath,
QString( "%1 (*%2);;%3 (*.*)" ).arg( qtr( "Containers" ) ) QString( "%1 (*%2);;%3 (*.*)" ).arg( qtr( "Containers" ) )
.arg( fileExtension ).arg( qtr("All") ) ); .arg( fileExtension ).arg( qtr("All") ), 0, QFileDialog::DontConfirmOverwrite );
fileLine->setText( toNativeSeparators( fileName ) ); fileLine->setText( toNativeSeparators( fileName ) );
setDestinationFileExtension(); setDestinationFileExtension();
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment