On Sat, Jun 10, 2017 at 12:49 PM, Lubomir I. Ivanov <[email protected]> wrote:
>
> perhaps both the lrint() calls should be removed and let QString()
> with 'f' (0/1) handle that?
Agfreed. The whole "lbs = lrint(lbs + 0.05);" thing isn't even a
sensible thing to do in the first place, and the other version (that
adds half a lbs) is confused too, since lrint() already rounds.
So ack on your patch.
Linus
_______________________________________________
subsurface mailing list
[email protected]
http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface