diff src/changesetitem.h @ 474:8bdc8f27d19c

Use contextMenuEvent instead of right-click in mousePressEvent to call up changeset item context menu. Appears to fix #201, though I'm cautious as I don't understand the reason
author Chris Cannam
date Tue, 26 Jul 2011 13:41:56 +0100
parents b1f0fa991c49
children 470829a21f98
line wrap: on
line diff
--- a/src/changesetitem.h	Thu Jul 14 13:56:20 2011 +0100
+++ b/src/changesetitem.h	Tue Jul 26 13:41:56 2011 +0100
@@ -85,6 +85,7 @@
 
 protected:
     virtual void mousePressEvent(QGraphicsSceneMouseEvent *);
+    virtual void contextMenuEvent(QGraphicsSceneContextMenuEvent *);
 
 private:
     void activateMenu();