From e30ee1a42fef0346b57333de118d9f3ca18bfa84 Mon Sep 17 00:00:00 2001 From: Ben Boeckel Date: Sun, 18 Jan 2009 18:54:47 -0500 Subject: Changed MapEffect coordinate to position --- sigmodr/EffectItem.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sigmodr/EffectItem.cpp') 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 + * Copyright 2008-2009 Ben Boeckel * * 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(); } -- cgit