summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
f41d1de)
Seemingly we can get a Transition into this code path; qgraphicsitem_cast<>
will properly return NULL if it's not of the type we expect.
}
m_selectionMutex.unlock();
if (m_dragItem) {
}
m_selectionMutex.unlock();
if (m_dragItem) {
- ClipItem *clip = static_cast <ClipItem *>(m_dragItem);
+ ClipItem *clip = qgraphicsitem_cast<ClipItem *>(m_dragItem);
updateClipTypeActions(dragGroup == NULL ? clip : NULL);
m_pasteEffectsAction->setEnabled(m_copiedItems.count() == 1);
}
updateClipTypeActions(dragGroup == NULL ? clip : NULL);
m_pasteEffectsAction->setEnabled(m_copiedItems.count() == 1);
}