1
0
mirror of https://github.com/mpv-player/mpv synced 2025-01-30 11:42:04 +00:00

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

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);
}