From 100857ab211703dc3b707689cb1087b879632a67 Mon Sep 17 00:00:00 2001 From: dismine Date: Thu, 25 Dec 2014 16:06:50 +0200 Subject: [PATCH] Don't use scaling factor for circle. --HG-- branch : develop --- src/app/visualization/visualization.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/visualization/visualization.cpp b/src/app/visualization/visualization.cpp index 776c913e2..fe86684f4 100644 --- a/src/app/visualization/visualization.cpp +++ b/src/app/visualization/visualization.cpp @@ -117,7 +117,7 @@ QGraphicsEllipseItem *Visualization::InitPoint(const QColor &color, QGraphicsIte //--------------------------------------------------------------------------------------------------------------------- QRectF Visualization::PointRect(const qreal &radius) const { - QRectF rec = QRectF(0, 0, radius*2/factor, radius*2/factor); + QRectF rec = QRectF(0, 0, radius*2, radius*2); rec.translate(-rec.center().x(), -rec.center().y()); return rec; }