Commit bed922d6 authored by Steve Lhomme's avatar Steve Lhomme

qt: the points seek time is an mtime_t

parent 73e4a2e8
......@@ -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 );
......
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