-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
5.4.0
-
None
-
Windows 8.1, Visual Studio 2013 with Qt Add-in
-
1ac0c4a2f787607269c2b5511a0f9a410d2f5603
The remainingTime() function of QTimer always returns 0. According to the documentation, this means that the timer is overdue, but it is still running. This example prints "Remaining time: 0" on the console:
QTimer* timer = new QTimer ();
timer->setSingleShot (true);
timer->start (3000);
qDebug () << "Remaining time: " << timer->remainingTime ();
For Gerrit Dashboard: QTBUG-43777 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
115596,2 | Make the Windows qt_msectime() function return 64-bit | 5.5 | qt/qtbase | Status: MERGED | +2 | 0 |