[vlc-devel] commit: Qt: Don't accept focus on the input slider. Never. Just process mouseEvents... (Jean-Baptiste Kempf )
git version control
git at videolan.org
Fri Sep 12 22:27:47 CEST 2008
vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Fri Sep 12 13:29:41 2008 -0700| [47591074fb80b37e25aa1cc10b9444aeb338cc82] | committer: Jean-Baptiste Kempf
Qt: Don't accept focus on the input slider. Never. Just process mouseEvents...
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=47591074fb80b37e25aa1cc10b9444aeb338cc82
---
modules/gui/qt4/util/input_slider.cpp | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/modules/gui/qt4/util/input_slider.cpp b/modules/gui/qt4/util/input_slider.cpp
index 053d9a2..d1c432f 100644
--- a/modules/gui/qt4/util/input_slider.cpp
+++ b/modules/gui/qt4/util/input_slider.cpp
@@ -50,6 +50,7 @@ InputSlider::InputSlider( Qt::Orientation q,QWidget *_parent ) :
setTracking( true );
setPosition( -1.0, 0, 0 );
secstotimestr( psz_length, 0 );
+ setFocusPolicy( Qt::NoFocus );
CONNECT( this, valueChanged(int), this, userDrag( int ) );
}
More information about the vlc-devel
mailing list