Remove inconsistent qreal/double co-mingling/comparison


Fixes build breakage on machines where qreal = float (many ARM devices).
Avoid needless float to double conversion before assignment back to a
float.

Change-Id: Ia11c9dc912361f5aa05c4e01dec45c0d7b477609
Reviewed-by: Robin Burchell <robin.burchell@viroteck.net>
Reviewed-by: Paolo Angelelli <paolo.angelelli@theqtcompany.com>
Reviewed-by: Michal Klocek <michal.klocek@theqtcompany.com>
commitbae9a0f52eb4c8faab2315dd45757c49544f682c
parent4528d53b7429e48c51988002bf35e3615a152cb5
authorDonald Carr <sirspudd@gmail.com>
committerDonald Carr <donald.carr@theqtcompany.com>
commit timeMon, 11 Apr 2016 18:56:22 +0000