comparison 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
comparison
equal deleted inserted replaced
472:2d57b81671de 474:8bdc8f27d19c
83 void tagActivated(); 83 void tagActivated();
84 void newBranchActivated(); 84 void newBranchActivated();
85 85
86 protected: 86 protected:
87 virtual void mousePressEvent(QGraphicsSceneMouseEvent *); 87 virtual void mousePressEvent(QGraphicsSceneMouseEvent *);
88 virtual void contextMenuEvent(QGraphicsSceneContextMenuEvent *);
88 89
89 private: 90 private:
90 void activateMenu(); 91 void activateMenu();
91 92
92 QFont m_font; 93 QFont m_font;