Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
5.5.0
-
None
-
windows 7 32 bit
-
cc5e84c8788a6d6f05dfdf76fc249177ee74dce1
Description
The following ends up in 03:28:36 but should be 20:31:24.
QTime time;
time.setHMS(0,0,0);
time = time.addSecs(2233884);
QLabel label;
label.setText(time.toString("hh:mm:ss"));
label.show();
Attachments
For Gerrit Dashboard: QTBUG-47717 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
123217,3 | Avoid overflow in QTime::addSecs with too big a number of seconds | 5.5 | qt/qtbase | Status: MERGED | +2 | 0 |
123652,1 | Avoid overflow in QTime::addSecs with too big a number of seconds | 5.6 | qt/qtbase | Status: ABANDONED | 0 | 0 |