[vlmc-devel] commit: EffectUser: Removing useless old target attribute. ( Hugo Beauzée-Luyssen )

git at videolan.org git at videolan.org
Wed Sep 15 00:53:49 CEST 2010


vlmc | branch: master | Hugo Beauzée-Luyssen <beauze.h at gmail.com> | Tue Sep 14 23:40:59 2010 +0200| [fe2ebfcb7f460fa940a55d2f2ce36b965572c14c] | committer: Hugo Beauzée-Luyssen 

EffectUser: Removing useless old target attribute.

> http://git.videolan.org/gitweb.cgi/vlmc.git/?a=commit;h=fe2ebfcb7f460fa940a55d2f2ce36b965572c14c
---

 src/EffectsEngine/EffectHelper.cpp |    7 -------
 src/EffectsEngine/EffectHelper.h   |    2 --
 2 files changed, 0 insertions(+), 9 deletions(-)

diff --git a/src/EffectsEngine/EffectHelper.cpp b/src/EffectsEngine/EffectHelper.cpp
index 08abde5..04179a0 100644
--- a/src/EffectsEngine/EffectHelper.cpp
+++ b/src/EffectsEngine/EffectHelper.cpp
@@ -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 )
diff --git a/src/EffectsEngine/EffectHelper.h b/src/EffectsEngine/EffectHelper.h
index ccc8850..165bc8e 100644
--- a/src/EffectsEngine/EffectHelper.h
+++ b/src/EffectsEngine/EffectHelper.h
@@ -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* );



More information about the Vlmc-devel mailing list