Minor changes in the cofigure format dialog

This commit is contained in:
jfmcarreira committed 2014-10-04 18:23:45 +01:00
1 parent fda381131c
commit 9906befa92
2 files changed
+21 -19

No files matched your search

+1 -1
View File
@@ -127,7 +127,7 @@ Bool SubWindowHandle::loadFile( QString cFilename, Bool bForceDialog )
if( m_pCurrStream->guessFormat( cFilename, Width, Height, InputFormat, FrameRate ) || bForceDialog )
{
ConfigureFormatDialog formatDialog( this );
if( formatDialog.runConfigureFormatDialog( cFilename, Width, Height, InputFormat, FrameRate ) == QDialog::Rejected )
if( formatDialog.runConfigureFormatDialog( QFileInfo( cFilename ).fileName(), Width, Height, InputFormat, FrameRate ) == QDialog::Rejected )
{
return false;
}