SonarQube warning.

--HG--
branch : develop
This commit is contained in:
Roman Telezhynskyi 2017-11-14 15:08:19 +02:00
parent bbee47fe35
commit 12761dcfa6

View File

@ -586,7 +586,7 @@ void VToolMove::UpdateItem(quint32 idTool, quint32 idItem, qreal angle, qreal le
const QPointF &rotationOrigin, const QString &suffix, VContainer *data, quint32 id)
{
const QSharedPointer<Item> i = data->GeometricObject<Item>(idItem);
Item moved = i->Move(length, angle, suffix).Rotate(rotationOrigin, rotationAngle);;
Item moved = i->Move(length, angle, suffix).Rotate(rotationOrigin, rotationAngle);
moved.setIdObject(idTool);
data->UpdateGObject(id, new Item(moved));
}