src/hbcore/effects/hbeffectscale.cpp
changeset 1 f7ac710697a9
parent 0 16d8024aca5e
child 5 627c4a0fd0e7
--- a/src/hbcore/effects/hbeffectscale.cpp	Mon Apr 19 14:02:13 2010 +0300
+++ b/src/hbcore/effects/hbeffectscale.cpp	Mon May 03 12:48:33 2010 +0300
@@ -36,8 +36,7 @@
     HbEffectGroup *group,
     HbEffectScale *effect,
     int duration ) :
-        HbEffectAnimation(),
-        mGroup(group),
+        HbEffectAnimation(group),
         mEffect(effect),
         mCenter(0),
         mCurrentScaling(1.0)
@@ -175,13 +174,13 @@
 
     if (durationX > 0) {
         mAnimationX = new HbEffectScaleAnimation(group, this, durationX);
-        mAnimationX->addLooping(paramX, group);
+        mAnimationX->addLooping(paramX);
         mAnimationX->mCurve = curveX;
     }
     // Create at least one animation even if both durations are zero for handling animation finish easily.
     if (durationY > 0 || !mAnimationX) {
         mAnimationY = new HbEffectScaleAnimation(group, this, durationY);
-        mAnimationY->addLooping(paramY, group);
+        mAnimationY->addLooping(paramY);
         mAnimationY->mCurve = curveY;
     }
 }