fix checking for a file before try to open it
This commit is contained in:
1 parent
5510355f95
commit
4dce7f0dab
1 file changed
+1
@@ -158,6 +158,7 @@ Void plaYUVerApp::loadFile( QString fileName, PlaYUVerStreamInfo* pStreamInfo )
|
|||||||
if( !QFileInfo( fileName ).exists() )
|
if( !QFileInfo( fileName ).exists() )
|
||||||
{
|
{
|
||||||
statusBar()->showMessage( "File do not exists!" );
|
statusBar()->showMessage( "File do not exists!" );
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
SubWindowHandle *interfaceChild = plaYUVerApp::findSubWindow( mdiArea, fileName );
|
SubWindowHandle *interfaceChild = plaYUVerApp::findSubWindow( mdiArea, fileName );
|
||||||
|
|||||||
Reference in new issue
Block a user