Commit 42383d06 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt: remove unuseful code.

parent e4f5b367
......@@ -1081,31 +1081,6 @@ void MainInterface::handleKeyPress( QKeyEvent *e )
e->ignore();
}
void MainInterface::resizeEvent( QResizeEvent * event )
{
#if 0
if( b_keep_size )
{
if( i_visualmode )
{
mainVideoSize = size();
}
else
{
if( VISIBLE( bgWidget) ||
( videoIsActive && videoWidget->isVisible() )
)
mainVideoSize = size();
else
mainBasedSize = size();
}
}
#endif
QVLCMW::resizeEvent( event );
msg_Dbg( p_intf, "Resize Event, height: %i", size().height() );
debug();
}
void MainInterface::wheelEvent( QWheelEvent *e )
{
int i_vlckey = qtWheelEventToVLCKey( e );
......
......@@ -100,7 +100,6 @@ protected:
virtual void customEvent( QEvent *);
virtual void keyPressEvent( QKeyEvent *);
virtual void wheelEvent( QWheelEvent * );
virtual void resizeEvent( QResizeEvent * event );
private:
/* Main Widgets Creation */
......
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