mirror of https://github.com/mpv-player/mpv
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:
parent
17507b5935
commit
6562d4a562
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue