]> git.sesse.net Git - vlc/commit
Qt4: fix a value error in the seek slider
authorLudovic Fauvet <etix@l0cal.com>
Sat, 16 Apr 2011 00:56:18 +0000 (02:56 +0200)
committerJean-Baptiste Kempf <jb@videolan.org>
Sat, 16 Apr 2011 12:10:17 +0000 (14:10 +0200)
commitc1f0dae2cb82aba40ae6e69a38780d8d437dd61b
treec60942814e7e39ad3177f16369be910103b05a78
parente50346b14916da12a136f0c0dc629dc35df766d1
Qt4: fix a value error in the seek slider

The slider position was computed using the width of the whole
widget instead of the ajusted rectangle which caused a drawing at a
negative position.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
modules/gui/qt4/util/input_slider.cpp