Fix some warnings

This commit is contained in:
jfmcarreira committed 2015-03-26 18:17:44 +00:00
1 parent 2e6da66ea8
commit 556e6e3f3c
2 files changed
+3 -4

No files matched your search

+1 -2
View File
@@ -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();
}
+2 -2
View File
@@ -249,7 +249,7 @@ Void ModulesHandle::enableModuleIf( PlaYUVerAppModuleIf *pcCurrModuleIf )
QString windowName;
QList<VideoSubWindow*> 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 );
}