changeset 10002 | 29acde6f200c |
parent 9998 | 736015b847e3 |
parent 9949 | 2aa9cf5badfc |
child 10108 | c68cf030eded |
--- a/QTfrontend/drawmapscene.cpp Fri Jan 17 15:32:50 2014 +0100 +++ b/QTfrontend/drawmapscene.cpp Fri Jan 17 06:58:28 2014 -0800 @@ -459,7 +459,7 @@ l.append(center); } else { - qreal angleDelta = qMax(0.1, qMin(0.7, 120 / r)); + qreal angleDelta = qMax(static_cast<qreal> (0.1), qMin(static_cast<qreal> (0.7), 120 / r)); for(qreal angle = 0.0; angle < 2*M_PI; angle += angleDelta) l.append(center + QPointF(rx * cos(angle), ry * sin(angle))); l.append(l.first());