]> git.sesse.net Git - kdenlive/blobdiff - src/commands/moveeffectcommand.cpp
coverity fix
[kdenlive] / src / commands / moveeffectcommand.cpp
index 5be578e290608d8cf12e890ccbb513f09cbe35fa..50d49e491517c367b591ca6342622e5495740a65 100644 (file)
@@ -52,12 +52,14 @@ int MoveEffectCommand::id() const
 bool MoveEffectCommand::mergeWith(const QUndoCommand * other)
 {
     return false;
+    /* dead code (flaged by coverity), was removed to avoid crash when dropping on group
     if (other->id() != id()) return false;
     if (m_track != static_cast<const MoveEffectCommand*>(other)->m_track) return false;
     if (m_pos != static_cast<const MoveEffectCommand*>(other)->m_pos) return false;
     m_oldindex = static_cast<const MoveEffectCommand*>(other)->m_oldindex;
     m_newindex = static_cast<const MoveEffectCommand*>(other)->m_newindex;
     return true;
+    */
 }
 
 // virtual