From 3aa920cf0f46c558617dc95d264f22b8d33e3a44 Mon Sep 17 00:00:00 2001 From: Martin Baeuml Date: Fri, 10 Dec 2010 15:52:22 +0100 Subject: [PATCH] remove some debug output --- sceneitems/annotationitem.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/sceneitems/annotationitem.py b/sceneitems/annotationitem.py index 0465c70..d8a4372 100644 --- a/sceneitems/annotationitem.py +++ b/sceneitems/annotationitem.py @@ -160,7 +160,6 @@ class AnnotationGraphicsRectItem(AnnotationGraphicsItem): painter.drawRect(self.boundingRect()) def itemChange(self, change, value): - print change if change == QGraphicsItem.ItemScenePositionHasChanged: self.updateModel() return AnnotationGraphicsItem.itemChange(self, change, value) @@ -197,7 +196,6 @@ class AnnotationGraphicsPointItem(AnnotationGraphicsItem): if not self._delayedDirty(): self.data_['x'] = self.scenePos().x() self.data_['y'] = self.scenePos().y() - print "updateModel (point)", self.data_ self.index().model().setData(self.index(), QVariant(self.data_), DataRole) def boundingRect(self):