QmlProfiler: Avoid numerical overflows in calculation of event width
We must not keep intermediate values in 32bit integers as they can easily get too large for that. This change restores the behavior from before change 10a14ced , which coaxed the compiler into using floats by stating the minimum constants as "1.0". Task-number: QTCREATORBUG-13391 Change-Id: Ie83337b7e2b09b37d94a31a07813de14b85152ee Reviewed-by:Kai Koehne <kai.koehne@theqtcompany.com>
Please register or sign in to comment