Commit 1365ccf2 authored by Barth Netterfield's avatar Barth Netterfield
Browse files

Fix another qreal/double issue

CCBUG: 342642
parent e74e56b2
......@@ -684,7 +684,7 @@ RelationPtr Curve::makeDuplicate() const {
// and not just pulled out of the air by what looks ~good.
// They are currently "about right" for printing to US Letter.
double Curve::pointDim(QRectF w) const {
return qMax(qreal(1.01), PointSize * ((w.width() + w.height()) * (1.0 / 4000.0)));
return qMax(double(1.01), PointSize * ((w.width() + w.height()) * (1.0 / 4000.0)));
}
double Curve::lineDim(const QRectF &R, double linewidth) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment