diff options
author | commander kotori <cmdrkotori@gmail.com> | 2015-12-03 18:16:52 +1000 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2015-12-03 10:41:49 +0100 |
commit | 6562d4a56276fdf109914924faa6c859d2079ee3 (patch) | |
tree | a987f8c77235a9edc62da746e32870aebce622f0 /DOCS/client_api_examples | |
parent | 17507b593506ad820cfabbe2fcec208ffe9d073f (diff) |
examples/qt_opengl: remove redundant time-start property fetch
Time-start is not a real property since 70df1608d.
Fixes #2529.
Diffstat (limited to 'DOCS/client_api_examples')
-rw-r--r-- | DOCS/client_api_examples/qt_opengl/mainwindow.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
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); } |