Bug fix : When user try to connect two differents potential together, the dialog box display a weird numbers of wire in the potential

git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4218 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
blacksun
2015-09-27 12:26:59 +00:00
parent 697ab4cba5
commit 13b0c42ba3
4 changed files with 55 additions and 10 deletions

View File

@@ -42,7 +42,7 @@ class GhostElement : public CustomElement {
// methods
public:
virtual bool fromXml(QDomElement &, QHash<int, Terminal *> &, bool = false);
virtual int linkType() const {return Simple;}
virtual kind linkType() const {return Simple;}
protected:
QRectF minimalBoundingRect() const;