Try fix reload button

This commit is contained in:
2015-04-27 21:11:40 +01:00
parent 47d0636624
commit 11b5b7aafc
4 changed files with 60 additions and 14 deletions
+3 -7
View File
@@ -130,18 +130,14 @@ Void VideoSubWindow::refreshSubWindow()
{
if( getCategory() & SubWindowAbstract::VIDEO_STREAM_SUBWINDOW )
{
Int currFrameNum = m_pCurrStream->getCurrFrameNum();
if( !loadFile( m_cFilename, false ) )
if( !m_pCurrStream->reload() )
{
close();
return;
}
seekAbsoluteEvent( currFrameNum );
}
else
{
refreshFrame();
//seekAbsoluteEvent( currFrameNum );
}
refreshFrame();
}
Bool VideoSubWindow::loadFile( QString cFilename, Bool bForceDialog )