From 76e538d8ce14d182ac7708bf5dacc04f0c967c4e Mon Sep 17 00:00:00 2001 From: Mika Fischer Date: Tue, 14 Jun 2011 14:16:08 +0200 Subject: [PATCH] Remove unneeded call --- sloth/gui/annotationscene.py | 1 - 1 file changed, 1 deletion(-) diff --git a/sloth/gui/annotationscene.py b/sloth/gui/annotationscene.py index 234e4c7..7068719 100644 --- a/sloth/gui/annotationscene.py +++ b/sloth/gui/annotationscene.py @@ -274,7 +274,6 @@ class AnnotationScene(QGraphicsScene): pass def itemFromIndex(self, index): - index = index.model().mapToSource(index) # TODO: solve this somehow else for item in self.items(): # some graphics items will not have an index method, # we just skip these