Bug fix: qet crash when close a diagram with a cross ref item.

git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3015 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
blacksun
2014-04-20 23:37:03 +00:00
parent 38f1d820b1
commit eee2a9181e
3 changed files with 26 additions and 10 deletions

View File

@@ -39,6 +39,9 @@ class CrossRefItem : public QGraphicsObject
explicit CrossRefItem(Element *elmt, QGraphicsItem *parent = 0);
~CrossRefItem();
enum { Type = UserType + 1009 };
virtual int type() const { return Type; }
QRectF boundingRect() const;
virtual QPainterPath shape() const;