Add a menu to select reference for all windows

This commit is contained in:
2014-12-16 02:06:14 +00:00
parent fc54d02527
commit b19dc41857
4 changed files with 6 additions and 8 deletions
+1 -1
View File
@@ -125,7 +125,7 @@ SubWindowHandle* ModulesHandle::enableModuleIf( PlaYUVerAppModuleIf *pcCurrModul
for( Int i = 0; i < m_pcMdiArea->subWindowList().size(); i++ )
{
subWindow = qobject_cast<SubWindowHandle*>( m_pcMdiArea->subWindowList().at( i ) );
if( subWindow->windowTitle() == selectedWindows.at( j ) )
if( subWindow->getWindowName() == selectedWindows.at( j ) )
{
subWindowList.append( qobject_cast<VideoSubWindow*>( m_pcMdiArea->subWindowList().at( i ) ) );
pcCurrModuleIf->m_pcSubWindow[j] = qobject_cast<VideoSubWindow*>( m_pcMdiArea->subWindowList().at( i ) );