xtuple/openrpt — pull request #10 by andrewshadura (2013-09-23 12:11:49+00:00)
Title: Use proper types when calling qBound.

qBound is a template function defined as:

const T &qBound (const T &min, const T &value, const T &max )

On ARM, for some reason the type of min and max in this expression
resolves to double, and compiler fails to find a function matching
qBound(double, qreal, double). For that reason we typecast constants
to qreal explicitly.