Logo Search packages:      
Sourcecode: kdenlive version File versions

void Command::KAddEffectCommand::deleteEffect (  )  [private]

Deletes the effect from the clip.

Definition at line 115 of file kaddeffectcommand.cpp.

References DocTrackBase::deleteEffectFromClip(), m_effectIndex, m_position, m_trackIndex, KdenliveDoc::projectClip(), and DocClipProject::track().

Referenced by unexecute().

                                         {
      DocTrackBase *track =
          m_document->projectClip().track(m_trackIndex);
      if (track) {
          track->deleteEffectFromClip(m_position, m_effectIndex);
      } else {
          kdError() <<
            "KAddEffectCommand::deleteEffect() - cannot find track index "
            << m_trackIndex << ", expect inconsistancies..." << endl;
      }
    }


Generated by  Doxygen 1.6.0   Back to index