X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fcustomtrackview.cpp;h=8786d494a07d09a914759dd1b2429f2a0f32f78e;hb=645eed7aae335fe3238e243f27e8f6a9a9de5825;hp=186552f19c27bfa5e2469f13fc1aa26352c96885;hpb=f41d1de9f855972a98ded4ce11394ca11ad5b32e;p=kdenlive diff --git a/src/customtrackview.cpp b/src/customtrackview.cpp index 186552f1..8786d494 100644 --- a/src/customtrackview.cpp +++ b/src/customtrackview.cpp @@ -1091,7 +1091,7 @@ void CustomTrackView::mousePressEvent(QMouseEvent * event) } m_selectionMutex.unlock(); if (m_dragItem) { - ClipItem *clip = static_cast (m_dragItem); + ClipItem *clip = qgraphicsitem_cast(m_dragItem); updateClipTypeActions(dragGroup == NULL ? clip : NULL); m_pasteEffectsAction->setEnabled(m_copiedItems.count() == 1); }