From da1ee40c3a3eed43cd6e086619ac59e4fe65c314 Mon Sep 17 00:00:00 2001 From: Till Theato Date: Tue, 19 Apr 2011 15:17:32 +0000 Subject: [PATCH] Fix geometry widget timeline too short svn path=/trunk/kdenlive/; revision=5540 --- src/geometrywidget.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/geometrywidget.cpp b/src/geometrywidget.cpp index 350d273a..b34c9747 100644 --- a/src/geometrywidget.cpp +++ b/src/geometrywidget.cpp @@ -305,9 +305,9 @@ void GeometryWidget::setupParam(const QDomElement elem, int minframe, int maxfra m_ui.widgetTimeWrapper->setHidden(true); } else { m_ui.widgetTimeWrapper->setHidden(false); - m_timeline->setKeyGeometry(m_geometry, m_outPoint - m_inPoint - 1); + m_timeline->setKeyGeometry(m_geometry, m_outPoint - m_inPoint); m_timeline->update(); - m_timePos->setRange(0, m_outPoint - m_inPoint - 1); + m_timePos->setRange(0, m_outPoint - m_inPoint); } // no opacity -- 2.39.2