Merge pull request #11 from LocutusOfBorg/fix-arm
Added cast to qreal, avoiding ftbfs due to
issue #758
--- 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());