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

qt: remove uninitialized member

parent a910b64b
......@@ -189,7 +189,7 @@ void VideoWidget::resizeEvent( QResizeEvent *event )
int VideoWidget::qtMouseButton2VLC( Qt::MouseButton qtButton )
{
if( !b_mouse_events || p_window == NULL )
if( p_window == NULL )
return -1;
switch( qtButton )
{
......@@ -230,7 +230,7 @@ void VideoWidget::mousePressEvent( QMouseEvent* event )
void VideoWidget::mouseMoveEvent( QMouseEvent *event )
{
if( b_mouse_events && p_window != NULL )
if( p_window != NULL )
{
vout_window_ReportMouseMoved( p_window, event->x(), event->y() );
event->accept();
......
......@@ -82,7 +82,6 @@ private:
QWidget *stable;
QLayout *layout;
bool b_mouse_events;
signals:
void sizeChanged( int, int );
......
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