mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-22 09:40:52 +01:00
Minor : add QGIUtility namespace
This commit is contained in:
@@ -861,7 +861,7 @@ void ElementTextItemGroup::autoPos()
|
||||
}
|
||||
}
|
||||
qreal r = rotation();
|
||||
centerToBottomDiagram(this, m_parent_element, offset);
|
||||
QGIUtility::centerToBottomDiagram(this, m_parent_element, offset);
|
||||
//centerToBottomDiagram change the rotation of this group if needed,
|
||||
//but setRotation is not a virtual function of QGraphicsItem, and the function centerToBottomDiagram
|
||||
//work with a QGraphicsItem. So we emit the signal if rotation changed
|
||||
|
||||
Reference in New Issue
Block a user