Minor : add QGIUtility namespace

This commit is contained in:
joshua
2022-07-15 20:48:06 +02:00
parent 2a307a74da
commit d9a0b03e23
4 changed files with 21 additions and 10 deletions

View File

@@ -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