Commit fe2ebfcb authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen

EffectUser: Removing useless old target attribute.

parent 84b27b51
......@@ -49,16 +49,9 @@ EffectHelper::target()
return m_target;
}
EffectUser*
EffectHelper::oldTarget()
{
return m_oldTarget;
}
void
EffectHelper::setTarget( EffectUser *target )
{
m_oldTarget = m_target;
m_target = target;
m_begin = 0;
if ( target != NULL )
......
......@@ -43,13 +43,11 @@ class EffectHelper : public Workflow::Helper
EffectInstance *effectInstance();
const EffectInstance *effectInstance() const;
EffectUser *target();
EffectUser *oldTarget();
void setTarget( EffectUser *target );
private:
EffectInstance *m_effectInstance;
EffectUser *m_target;
EffectUser *m_oldTarget;
};
Q_DECLARE_METATYPE( EffectHelper* );
......
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