Commit 7dfba6e7 authored by Francois Cartegnie's avatar Francois Cartegnie

Qt: SoundWidget: use LeftButton only for level changes.

Allow event propagation of other buttons.
parent e3ed7e40
......@@ -213,7 +213,7 @@ bool SoundWidget::eventFilter( QObject *obj, QEvent *e )
if( e->type() == QEvent::MouseButtonPress )
{
QMouseEvent *event = static_cast<QMouseEvent*>(e);
if( event->button() != Qt::RightButton )
if( event->button() == Qt::LeftButton )
{
if( volumeSlider->orientation() == Qt::Vertical )
{
......
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