From 6562d4a56276fdf109914924faa6c859d2079ee3 Mon Sep 17 00:00:00 2001 From: commander kotori Date: Thu, 3 Dec 2015 18:16:52 +1000 Subject: examples/qt_opengl: remove redundant time-start property fetch Time-start is not a real property since 70df1608d. Fixes #2529. --- DOCS/client_api_examples/qt_opengl/mainwindow.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'DOCS/client_api_examples') diff --git a/DOCS/client_api_examples/qt_opengl/mainwindow.cpp b/DOCS/client_api_examples/qt_opengl/mainwindow.cpp index 2e3cf210ee..3ecd0a196d 100644 --- a/DOCS/client_api_examples/qt_opengl/mainwindow.cpp +++ b/DOCS/client_api_examples/qt_opengl/mainwindow.cpp @@ -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); } -- cgit v1.2.3