From 73ccedb42e488981a96121b3b0870fe3f1f2ec2a Mon Sep 17 00:00:00 2001 From: "Aaron J. Seigo" Date: Fri, 8 Jun 2007 06:05:40 +0000 Subject: [PATCH] make the frame rates per second by dividing by 1/duration. we will likely want different durations per anim, but i really like the idea of controlling the durations centrally as a means to .. guide (yeah, that's it!) Animator developers svn path=/trunk/KDE/kdebase/workspace/lib/plasma/; revision=672786 --- phase.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/phase.cpp b/phase.cpp index 4d6caab3e..a30842411 100644 --- a/phase.cpp +++ b/phase.cpp @@ -121,8 +121,8 @@ void Phase::animate(QGraphicsItem* item, Animation animation) return; } - QTimeLine* timeLine = new QTimeLine(300, this); - timeLine->setFrameRange(0, frames); + QTimeLine* timeLine = new QTimeLine(333, this); + timeLine->setFrameRange(0, frames / 3.0); AnimationState state; state.item = item;