use more meaningful name

This commit is contained in:
Martin Marmsoler
2020-10-12 19:11:01 +02:00
parent 3509a1c7a5
commit c0d9bf9548
3 changed files with 4 additions and 4 deletions

View File

@@ -29,8 +29,8 @@
* @param s parent diagram
* @param state int used to know if the creation of element have error
*/
SlaveElement::SlaveElement(const ElementsLocation &location, QGraphicsItem *qgi, int *state) :
Element(location, qgi, state, Element::Slave)
SlaveElement::SlaveElement(const ElementsLocation &location, QGraphicsItem *parent, int *state) :
Element(location, parent, state, Element::Slave)
{
}