vlc | branch: master | Francois Cartegnie <[email protected]> | Fri Feb 24 19:13:45 2012 +0100| [7dfba6e74c2b26eea3236aefeee3359b9069db0a] | committer: Francois Cartegnie
Qt: SoundWidget: use LeftButton only for level changes. Allow event propagation of other buttons. > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=7dfba6e74c2b26eea3236aefeee3359b9069db0a --- modules/gui/qt4/components/controller_widget.cpp | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/modules/gui/qt4/components/controller_widget.cpp b/modules/gui/qt4/components/controller_widget.cpp index 4e945af..a274c24 100644 --- a/modules/gui/qt4/components/controller_widget.cpp +++ b/modules/gui/qt4/components/controller_widget.cpp @@ -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 ) { _______________________________________________ vlc-commits mailing list [email protected] http://mailman.videolan.org/listinfo/vlc-commits
