examples/qt_opengl: remove redundant time-start property fetch

Time-start is not a real property since 70df1608d.

Fixes #2529.
This commit is contained in:
commander kotori 2015-12-03 18:16:52 +10:00 committed by wm4
parent 17507b5935
commit 6562d4a562
1 changed files with 1 additions and 2 deletions

View File

@ -48,6 +48,5 @@ void MainWindow::pauseResume()
void MainWindow::setSliderRange(int duration)
{
const int time0 = m_mpv->getProperty("time-start").toInt();
m_slider->setRange(time0, time0+duration);
m_slider->setRange(0, duration);
}