Fix warning

This commit is contained in:
jfmcarreira committed 2014-05-10 04:11:13 +01:00
1 parent 73ed8720b5
commit b6636df074
1 file changed
+6
+6
View File
@@ -146,10 +146,16 @@ Void SubWindowHandle::refreshFrame()
{
m_pcCurrFrame = m_pCurrStream->getCurrFrame();
if( m_pcCurrentModule )
{
if( m_pcModuleSubWindow )
{
m_pcModuleSubWindow->setCurrFrame( m_pcCurrentModule->process( m_pCurrStream->getCurrFrame() ) );
}
else
{
m_pcCurrFrame = m_pcCurrentModule->process( m_pCurrStream->getCurrFrame() );
}
}
m_cViewArea->setImage( m_pcCurrFrame );
}
}