fix checking for a file before try to open it

This commit is contained in:
2014-12-10 22:42:49 +00:00
parent 5510355f95
commit 4dce7f0dab
+1
View File
@@ -158,6 +158,7 @@ Void plaYUVerApp::loadFile( QString fileName, PlaYUVerStreamInfo* pStreamInfo )
if( !QFileInfo( fileName ).exists() )
{
statusBar()->showMessage( "File do not exists!" );
return;
}
SubWindowHandle *interfaceChild = plaYUVerApp::findSubWindow( mdiArea, fileName );