Clazy warning.
--HG-- branch : develop
This commit is contained in:
parent
4a4351b73d
commit
4ad06e28b2
|
@ -60,7 +60,7 @@ namespace
|
||||||
* @param dRot rectangle rotation
|
* @param dRot rectangle rotation
|
||||||
* @return bounding box around rectBB rotated by dRot
|
* @return bounding box around rectBB rotated by dRot
|
||||||
*/
|
*/
|
||||||
QRectF GetBoundingRect(QRectF rectBB, qreal dRot)
|
QRectF GetBoundingRect(const QRectF &rectBB, qreal dRot)
|
||||||
{
|
{
|
||||||
QPointF apt[4] = { rectBB.topLeft(), rectBB.topRight(), rectBB.bottomLeft(), rectBB.bottomRight() };
|
QPointF apt[4] = { rectBB.topLeft(), rectBB.topRight(), rectBB.bottomLeft(), rectBB.bottomRight() };
|
||||||
QPointF ptCenter = rectBB.center();
|
QPointF ptCenter = rectBB.center();
|
||||||
|
|
Loading…
Reference in New Issue
Block a user