From 3cf421bde421e81af49d167ae9a2ed8cc7511b7a Mon Sep 17 00:00:00 2001 From: Roman Telezhynskyi Date: Thu, 14 May 2015 20:22:24 +0300 Subject: [PATCH] Speed optimization. --HG-- branch : develop --- src/libs/vlayout/vposition.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libs/vlayout/vposition.cpp b/src/libs/vlayout/vposition.cpp index 26b0307af..2efdaf603 100644 --- a/src/libs/vlayout/vposition.cpp +++ b/src/libs/vlayout/vposition.cpp @@ -660,7 +660,7 @@ QVector VPosition::CutEdge(const QLineF &edge, unsigned int shift) //--------------------------------------------------------------------------------------------------------------------- void VPosition::Rotate(int increase) { - for (int angle = 0; angle <= 360; angle = angle+increase) + for (int angle = 0; angle < 360; angle = angle+increase) { if (*stop) {