]> git.sesse.net Git - vlc/blobdiff - modules/gui/qt4/util/input_slider.cpp
Qt: kill many warnings.
[vlc] / modules / gui / qt4 / util / input_slider.cpp
index c5e490c38334db6eae1bb02238beadac46a1053a..2952af39693da9010b02c53dd3f3ac5a82d1c745 100644 (file)
@@ -78,6 +78,7 @@ void InputSlider::userDrag( int new_value )
 void InputSlider::mouseReleaseEvent( QMouseEvent *event )
 {
     b_isSliding = false;
+    event->accept();
 }
 
 void InputSlider::mousePressEvent(QMouseEvent* event)
@@ -263,5 +264,6 @@ void SoundSlider::paintEvent( QPaintEvent *e )
                       QString::number( value() ) + '%' );
 
     painter.end();
+    e->accept();
 }