mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-03-26 17:59:59 +01:00
fix bug : if a xml definition of an element haven't got a uuid, the generated pixmap is false.
this commit it. git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5493 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -90,7 +90,7 @@ class ElementPictureFactory
|
||||
ElementPictureFactory operator= (const ElementPictureFactory &);
|
||||
~ElementPictureFactory() {}
|
||||
|
||||
bool build(const ElementsLocation &location);
|
||||
bool build(const ElementsLocation &location, QPicture *picture=nullptr, QPicture *low_picture=nullptr);
|
||||
void parseElement(const QDomElement &dom, QPainter &painter, primitives &prim) const;
|
||||
void parseLine (const QDomElement &dom, QPainter &painter, primitives &prim) const;
|
||||
void parseRect (const QDomElement &dom, QPainter &painter, primitives &prim) const;
|
||||
|
||||
Reference in New Issue
Block a user