From 556e6e3f3ce10c4746112953a8baa7789bccea5f Mon Sep 17 00:00:00 2001 From: Joao Carreira Date: Thu, 26 Mar 2015 18:17:44 +0000 Subject: [PATCH] Fix some warnings --- app/DialogSubWindowSelector.cpp | 3 +-- app/ModulesHandle.cpp | 4 ++-- 2 files changed, 3 insertions(+), 4 deletions(-) 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 ); }