Commit 956d83b3 authored by Ludovic Fauvet's avatar Ludovic Fauvet
Browse files

Cosmetic

parent 8f737bf9
......@@ -112,7 +112,7 @@ void PreviewWidget::positionChanged()
{
if ( m_currentMedia )
{
m_ui->seekSlider->setValue( (float)m_currentMedia->getPosition() * 1000 );
m_ui->seekSlider->setValue( (int)( m_currentMedia->getPosition() * 1000.0 ) );
}
}
......@@ -120,7 +120,7 @@ void PreviewWidget::seekSliderMoved( int )
{
if ( m_currentMedia )
{
m_currentMedia->setPosition( (float)m_ui->seekSlider->value() / 1000 );
m_currentMedia->setPosition( (float)m_ui->seekSlider->value() / 1000.0 );
}
}
......
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