Add filename into configure format dialog

This commit is contained in:
jfmcarreira committed 2014-07-16 18:49:59 +01:00
1 parent e711e9c8b3
commit 18bc64444f
3 files changed
+20 -3

No files matched your search

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