Commit af7bad86 authored by Erwan Tulou's avatar Erwan Tulou

skins2: remove unneeded code (already inherited from base class)

parent bc6d0013
......@@ -45,10 +45,6 @@ CtrlVideo::CtrlVideo( intf_thread_t *pIntf, GenericLayout &rLayout,
VarBox &rVoutSize = VlcProc::instance( pIntf )->getVoutSizeVar();
rVoutSize.addObserver( this );
}
// observe visibility variable
if( m_pVisible )
m_pVisible->addObserver( this );
}
......@@ -58,9 +54,6 @@ CtrlVideo::~CtrlVideo()
rVoutSize.delObserver( this );
//m_pLayout->getActiveVar().delObserver( this );
if( m_pVisible )
m_pVisible->delObserver( this );
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment