Commit 04cc2029 authored by Tobias Hunger's avatar Tobias Hunger Committed by Eike Ziller
Browse files

StyleAnimator: Make sure we have a sensible duration



Change-Id: I75c5cb59e0f273e1646c835d60d470dc27e492c1
Reviewed-by: default avatarEike Ziller <eike.ziller@digia.com>
parent b4b065d8
......@@ -71,7 +71,7 @@ protected:
class Transition : public Animation
{
public :
Transition() : Animation() {}
Transition() : Animation(), m_duration(100) {}
virtual ~Transition() {}
void setDuration(int duration) { m_duration = duration; }
void setStartImage(const QImage &image) { m_primaryImage = image; }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment