Fix: 2D datetimeaxis rounding error


Datetimeaxis incorrectly rounded up sub-minute intervals. This happened
because qreal values were assigned to float. Usually qreal is double so
precission were lost in the type conversion. Change the code to use
qreal instead of float.

Pick-to: 6.12 6.11
Fixes: QTBUG-147722
Change-Id: Iffb957d1b58c2f49433d6522f8ae88baf449a0ec
Reviewed-by: Owais Akhtar <owais.akhtar@qt.io>
Reviewed-by: Kwanghyo Park <kwanghyo.park@qt.io>
Reviewed-by: Sami Varanka <sami.varanka@qt.io>
commit9512f62c165d44fd76a30bcde9c7aa510520b929
parent52726f697c798b9d73a0d33403dd88ce4592944f
authorSami Varanka <sami.varanka@qt.io>
committerSami Varanka <sami.varanka@qt.io>
commit timeMon, 6 Jul 2026 07:56:20 +0000