diff --git a/app/DialogSubWindowSelector.cpp b/app/DialogSubWindowSelector.cpp index 87b885f..81fe4ec 100644 --- a/app/DialogSubWindowSelector.cpp +++ b/app/DialogSubWindowSelector.cpp @@ -217,8 +217,7 @@ Void DialogSubWindowSelector::toggleSubWindow( Int idx ) } else { - Bool bRemoved = m_apcSelectedSubWindowList.removeOne( m_apcSubWindowList.at( idx ) ); - assert( bRemoved ); + m_apcSelectedSubWindowList.removeOne( m_apcSubWindowList.at( idx ) ); } update(); } diff --git a/app/ModulesHandle.cpp b/app/ModulesHandle.cpp index ebcddcb..ef4d3a0 100644 --- a/app/ModulesHandle.cpp +++ b/app/ModulesHandle.cpp @@ -249,7 +249,7 @@ Void ModulesHandle::enableModuleIf( PlaYUVerAppModuleIf *pcCurrModuleIf ) QString windowName; QList videoSubWindowList; - UInt numberOfFrames = pcCurrModuleIf->m_pcModule->m_uiNumberOfFrames; + Int numberOfFrames = pcCurrModuleIf->m_pcModule->m_uiNumberOfFrames; if( numberOfFrames > MODULE_REQUIRES_ONE_FRAME ) // Show dialog to select sub windows { DialogSubWindowSelector dialogWindowsSelection( m_pcParent, m_pcMainWindowManager, SubWindowHandle::VIDEO_SUBWINDOW, numberOfFrames, numberOfFrames ); @@ -358,7 +358,7 @@ Void ModulesHandle::enableModuleIf( PlaYUVerAppModuleIf *pcCurrModuleIf ) { if( pcCurrModuleIf->m_pcDisplaySubWindow ) pcCurrModuleIf->m_pcDisplaySubWindow->enableModule( pcCurrModuleIf ); - for( UInt i = 0; i < numberOfFrames; i++ ) + for( Int i = 0; i < numberOfFrames; i++ ) { pcCurrModuleIf->m_pcSubWindow[i]->associateModule( pcCurrModuleIf ); }