Commit 146ad882 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

qt4: cosmetic rename

parent bf294ee5
......@@ -160,7 +160,7 @@ WId VideoWidget::request( struct vout_window_t *p_wnd, unsigned int *pi_width,
/* Set the Widget to the correct Size */
/* Function has to be called by the parent
Parent has to care about resizing itself */
void VideoWidget::SetSizing( unsigned int w, unsigned int h )
void VideoWidget::setSize( unsigned int w, unsigned int h )
{
resize( w, h );
emit sizeChanged( w, h );
......
......@@ -81,7 +81,7 @@ signals:
void sizeChanged( int, int );
public slots:
void SetSizing( unsigned int, unsigned int );
void setSize( unsigned int, unsigned int );
};
/******************** Background Widget ****************/
......
......@@ -734,7 +734,7 @@ void MainInterface::getVideoSlot( WId *p_id, struct vout_window_t *p_wnd,
/* Ask videoWidget to resize correctly, if we are in normal mode */
if( !isFullScreen() && !isMaximized() && b_autoresize )
videoWidget->SetSizing( *pi_width, *pi_height );
videoWidget->setSize( *pi_width, *pi_height );
}
}
......@@ -772,7 +772,7 @@ void MainInterface::releaseVideoSlot( void )
void MainInterface::setVideoSize( unsigned int w, unsigned int h )
{
if( !isFullScreen() && !isMaximized() )
videoWidget->SetSizing( w, h );
videoWidget->setSize( w, h );
}
void MainInterface::videoSizeChanged( int w, int h )
......
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