summaryrefslogtreecommitdiffstats
path: root/sigmodr/EffectItem.cpp
diff options
context:
space:
mode:
authorBen Boeckel <MathStuf@gmail.com>2009-01-18 18:54:47 -0500
committerBen Boeckel <MathStuf@gmail.com>2009-01-18 18:54:47 -0500
commite30ee1a42fef0346b57333de118d9f3ca18bfa84 (patch)
tree3795534079a88f65e0000d9208c690f21c4926af /sigmodr/EffectItem.cpp
parent640b12f68997d7862df3a8d6cea1f40fc5ae8cca (diff)
downloadsigen-e30ee1a42fef0346b57333de118d9f3ca18bfa84.tar.gz
sigen-e30ee1a42fef0346b57333de118d9f3ca18bfa84.tar.xz
sigen-e30ee1a42fef0346b57333de118d9f3ca18bfa84.zip
Changed MapEffect coordinate to position
Diffstat (limited to 'sigmodr/EffectItem.cpp')
-rw-r--r--sigmodr/EffectItem.cpp6
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();
}