diff options
Diffstat (limited to 'sigmodr/EffectItem.cpp')
| -rw-r--r-- | sigmodr/EffectItem.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sigmodr/EffectItem.cpp b/sigmodr/EffectItem.cpp index 9b6c3327..e297ebb0 100644 --- a/sigmodr/EffectItem.cpp +++ b/sigmodr/EffectItem.cpp @@ -1,5 +1,5 @@ /* - * Copyright 2008 Ben Boeckel <MathStuf@gmail.com> + * Copyright 2008-2009 Ben Boeckel <MathStuf@gmail.com> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -100,7 +100,7 @@ void Sigmodr::EffectItem::mousePressEvent(QGraphicsSceneMouseEvent* event) void Sigmodr::EffectItem::mouseMoveEvent(QGraphicsSceneMouseEvent* event) { QGraphicsItem::mouseMoveEvent(event); - m_effect->setCoordinate(scenePos().toPoint()); + m_effect->setPosition(scenePos().toPoint()); } void Sigmodr::EffectItem::mouseReleaseEvent(QGraphicsSceneMouseEvent* event) @@ -111,6 +111,6 @@ void Sigmodr::EffectItem::mouseReleaseEvent(QGraphicsSceneMouseEvent* event) void Sigmodr::EffectItem::effectChanged() { - setPos(m_effect->coordinate()); + setPos(m_effect->position()); update(); } |
