From bb9a9970b45605c191f935037fc2ee14caf2872e Mon Sep 17 00:00:00 2001 From: Joao Carreira Date: Mon, 29 Dec 2014 19:30:10 +0000 Subject: [PATCH] Remove unused code --- app/ModulesHandle.cpp | 9 +-------- app/ModulesHandle.h | 3 --- 2 files changed, 1 insertion(+), 11 deletions(-) diff --git a/app/ModulesHandle.cpp b/app/ModulesHandle.cpp index 84cfbf7..0b9ff9e 100644 --- a/app/ModulesHandle.cpp +++ b/app/ModulesHandle.cpp @@ -36,9 +36,7 @@ namespace plaYUVer ModulesHandle::ModulesHandle( QMainWindow * parent, QMdiArea *mdiArea ) : QWidget( parent ), m_pcParent( parent ), - m_pcMdiArea( mdiArea ), - m_uiModulesCount( 0 ), - m_iOptionSelected( INVALID_OPT ) + m_pcMdiArea( mdiArea ) { setParent( m_pcParent ); } @@ -184,11 +182,9 @@ Void ModulesHandle::processOpt( Int index ) break; case SWAP_FRAMES_ACT: swapModulesWindowsIf( pcCurrModule ); - //pcSubWindow->swapModuleFrames(); break; case APPLY_ALL_ACT: applyAllModuleIf( pcCurrModule ); - //pcSubWindow->applyModuleAllFrames(); break; default: Q_ASSERT( 0 ); @@ -216,9 +212,6 @@ Void ModulesHandle::activateModule() { pcVideoSubWindow->disableModule(); } - - m_iOptionSelected = INVALID_OPT; - } } diff --git a/app/ModulesHandle.h b/app/ModulesHandle.h index 2fc86f8..9d35c63 100644 --- a/app/ModulesHandle.h +++ b/app/ModulesHandle.h @@ -70,9 +70,6 @@ private: QMainWindow *m_pcParent; QMdiArea *m_pcMdiArea; - UInt m_uiModulesCount; - Int m_iOptionSelected; - enum { INVALID_OPT = -1,