Change QVector to QList

This commit is contained in:
jfmcarreira committed 2015-01-06 14:45:21 +00:00
1 parent 3c2a72d793
commit f979a837aa
3 files changed
+6 -6

No files matched your search

+2 -2
View File
@@ -158,7 +158,7 @@ Void ModulesHandle::updateMenus()
m_arrayActions[FORCE_NEW_WINDOW_ACT]->setEnabled( hasSubWindow );
if( pcSubWindow )
{
QVector<PlaYUVerAppModuleIf*> apcCurrentModule = pcSubWindow->getModuleArray();
QList<PlaYUVerAppModuleIf*> apcCurrentModule = pcSubWindow->getModuleArray();
for( Int i = 0; i < apcCurrentModule.size(); i++ )
{
currModuleAction = apcCurrentModule.at( i )->m_pcModuleAction;
@@ -187,7 +187,7 @@ Void ModulesHandle::processOpt( Int index )
VideoSubWindow* pcSubWindow = qobject_cast<VideoSubWindow *>( m_pcMdiArea->activeSubWindow() );
if( pcSubWindow )
{
QVector<PlaYUVerAppModuleIf*> apcCurrentModule = pcSubWindow->getModuleArray();
QList<PlaYUVerAppModuleIf*> apcCurrentModule = pcSubWindow->getModuleArray();
if( apcCurrentModule.size() > 1 )
{
PlaYUVerAppModuleIf* pcCurrModule = apcCurrentModule.at( 0 );