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

@@ -253,13 +253,13 @@ void CrossRefItem::autoPos()
{
//We calcul the position according to the snapTo of the xrefproperties
if (m_properties.snapTo() == XRefProperties::Bottom)
centerToBottomDiagram(this,
QGIUtility::centerToBottomDiagram(this,
m_element,
m_properties.offset() <= 40
? 5
: m_properties.offset());
else
centerToParentBottom(this);
QGIUtility::centerToParentBottom(this);
}
/**