[vlc-commits] qt: the points seek time is an mtime_t

Steve Lhomme git at videolan.org
Thu Jun 14 16:40:57 CEST 2018


vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Tue Jun 12 12:24:46 2018 +0200| [bed922d68baba223860004db29881668f05f7033] | committer: Steve Lhomme

qt: the points seek time is an mtime_t

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=bed922d68baba223860004db29881668f05f7033
---

 modules/gui/qt/styles/seekstyle.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/gui/qt/styles/seekstyle.cpp b/modules/gui/qt/styles/seekstyle.cpp
index cc3adeb3c5..cfdf9cc93f 100644
--- a/modules/gui/qt/styles/seekstyle.cpp
+++ b/modules/gui/qt/styles/seekstyle.cpp
@@ -177,7 +177,7 @@ void SeekStyle::drawComplexControl( ComplexControl cc, const QStyleOptionComplex
                                         ( background.value() + foreground.value() ) / 2 );
                         if ( slideroptions->orientation == Qt::Horizontal ) /* TODO: vertical */
                         {
-                            foreach( int64_t time, slideroptions->points )
+                            foreach( mtime_t time, slideroptions->points )
                             {
                                 int x = groove.x() + time / (double)CLOCK_FREQ / slideroptions->length * groove.width();
                                 painter->setPen( foreground );



More information about the vlc-commits mailing list