Logo Search packages:      
Sourcecode: kdenlive version File versions

void Gui::MonitorManager::clearClip ( DocClipBase *  clip  ) 

Searches through monitors and clears any that are using the specified avfile.

Definition at line 96 of file monitormanager.cpp.

References m_monitors.

Referenced by Gui::KdenliveApp::slotProjectDeleteClips().

                                                     {
      if (clip) {
          QPtrListIterator < KMonitor > itt(m_monitors);

          while (itt.current()) {
            if (itt.current()->clip()) {
                if (itt.current()->clip()->referencedClip() == clip) {
                  itt.current()->slotClearClip();
                }
            }
            ++itt;
          }
      }
    }


Generated by  Doxygen 1.6.0   Back to index