From 4ad06e28b25a142bcc18fbdd394cc1892cd45b91 Mon Sep 17 00:00:00 2001 From: Roman Telezhynskyi Date: Wed, 24 Jul 2019 13:43:12 +0300 Subject: [PATCH] Clazy warning. --HG-- branch : develop --- src/libs/vwidgets/vtextgraphicsitem.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libs/vwidgets/vtextgraphicsitem.cpp b/src/libs/vwidgets/vtextgraphicsitem.cpp index d2c6c2599..21b7365e8 100644 --- a/src/libs/vwidgets/vtextgraphicsitem.cpp +++ b/src/libs/vwidgets/vtextgraphicsitem.cpp @@ -60,7 +60,7 @@ namespace * @param dRot rectangle rotation * @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 ptCenter = rectBB.center();