summaryrefslogtreecommitdiffstats
path: root/src/widgets/widgets/qmenu.cpp
diff options
context:
space:
mode:
authorJonathan Liu <net147@gmail.com>2012-02-21 15:54:25 +1100
committerQt by Nokia <qt-info@nokia.com>2012-02-22 00:07:31 +0100
commite8ecf3ad034c759be753a625ac97800df53cb401 (patch)
treefee90296343d429008a0e9ee781734bbd8dbf068 /src/widgets/widgets/qmenu.cpp
parentd1abf3e3e7108071fec2075301310ac2c19c878d (diff)
QElapsedTimer/Win: Fix 64-bit integer overflow
The ticksToNanoseconds function in qelapsedtimer_win.cpp multiplies ticks from performance counter with 1000000000 which can sometimes result in 64-bit integer overflow. This can cause the elapsed time to reset or jump around. Task-number: QTBUG-23150 Change-Id: I464503e03cbe64e13906e773beafbf88e7dc256a Reviewed-by: Bradley T. Hughes <bradley.hughes@nokia.com> Reviewed-by: Thiago Macieira <thiago.macieira@intel.com> (cherry picked from commit f30a91ba9d98de1a0ebee5608ba289ac35871a8c)
Diffstat (limited to 'src/widgets/widgets/qmenu.cpp')
0 files changed, 0 insertions, 0 deletions