--- a/src/hbcore/effects/hbeffectrotate.cpp Mon Apr 19 14:02:13 2010 +0300
+++ b/src/hbcore/effects/hbeffectrotate.cpp Mon May 03 12:48:33 2010 +0300
@@ -22,6 +22,7 @@
** Nokia at developer.feedback@nokia.com.
**
****************************************************************************/
+
#include "hbeffectrotate_p.h"
#include "hbeffectanimation_p.h"
#include "hbeffectutils_p.h"
@@ -45,7 +46,6 @@
void handleAnimationFinish();
public:
- HbEffectGroup *mGroup;
Qt::Axis mAxis;
qreal mCenterX;
qreal mCenterY;
@@ -57,8 +57,7 @@
HbEffectGroup *group,
Qt::Axis axis,
int duration ) :
- HbEffectAnimation(),
- mGroup(group),
+ HbEffectAnimation(group),
mAxis(axis),
mCenterX(0),
mCenterY(0),
@@ -162,11 +161,10 @@
}
// Create rotation animation
-
HbEffectRotateAnimation *anim = new HbEffectRotateAnimation(
group, axis, duration);
- anim->addLooping(angleParam, group);
+ anim->addLooping(angleParam);
foreach( const HbKeyFrame &kf, keyFrameList ) {
if (HbEffectUtils::fuzzyIsNull(kf.pos)) {
@@ -188,8 +186,6 @@
anim->setEndValue(QVariant(endAngle));
}
-/* Destructor
-*/
HbEffectRotate::~HbEffectRotate()
{
if (mAnimation) {
@@ -205,8 +201,6 @@
void HbEffectRotate::init()
{
-
-
bool valueOk(false);
qreal value = HbEffectUtils::resolveFxmlRef(originXData, &valueOk, item(), HbEffectUtils::Center);
if (valueOk) {