From b6636df0748c19e559ef1504ca2f410fda2bc17a Mon Sep 17 00:00:00 2001 From: Joao Carreira Date: Sat, 10 May 2014 04:11:13 +0100 Subject: [PATCH] Fix warning --- source/app/SubWindowHandle.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/source/app/SubWindowHandle.cpp b/source/app/SubWindowHandle.cpp index 6b25a1c..8d9fb6e 100644 --- a/source/app/SubWindowHandle.cpp +++ b/source/app/SubWindowHandle.cpp @@ -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 ); } }