mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-02-20 10:39:59 +01:00
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:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user