mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-23 02:10:52 +01:00
Minor : add QGIUtility namespace
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user