X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fabstractgroupitem.cpp;h=2b74e01e108e7459cfe7c80d1ea605b060b818de;hb=b2f37cecd90d42af8cc8f655462c91cf6624cb01;hp=15770b8d20cfe62e5a9fefd8be0217c7733e0685;hpb=c24658bd34221d735f0641c924b890e1a6be7101;p=kdenlive diff --git a/src/abstractgroupitem.cpp b/src/abstractgroupitem.cpp index 15770b8d..2b74e01e 100644 --- a/src/abstractgroupitem.cpp +++ b/src/abstractgroupitem.cpp @@ -292,7 +292,7 @@ QVariant AbstractGroupItem::itemChange(GraphicsItemChange change, const QVariant QList collidingItems; QPainterPath shape; - if (projectScene()->editMode() == NORMALEDIT) { + if (projectScene()->editMode() == NormalEdit) { shape = clipGroupShape(newPos - pos()); collidingItems = scene()->items(shape, Qt::IntersectsItemShape); collidingItems.removeAll(this); @@ -356,7 +356,7 @@ QVariant AbstractGroupItem::itemChange(GraphicsItemChange change, const QVariant } } - if (projectScene()->editMode() == NORMALEDIT) { + if (projectScene()->editMode() == NormalEdit) { shape = transitionGroupShape(newPos - pos()); collidingItems = scene()->items(shape, Qt::IntersectsItemShape); collidingItems.removeAll(this);