summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorEdward Welbourne <edward.welbourne@qt.io>2019-03-26 19:20:24 +0100
committerEdward Welbourne <edward.welbourne@qt.io>2019-04-01 14:39:34 +0000
commitf3002b6e205463305502600df95b1ae509e47a9b (patch)
treec5406585bd37677355973deee1a90d57a8bb0d4f /examples
parentad313595e0662fa2e91676feef65aad5b4525a86 (diff)
Use the QTime API less clumsily
Various patterns seem to have been copied, notably counting time from QTime(0, 0) rather than using QTime::msecsSinceStartOfDay() and its setter. Unsuitable value types also put in an appearance, and QTime()'s parameters after the first two default to 0 anyway. Corrected a lie in QTime()'s default constructor doc; it does not work the same as QTime(0, 0) at all. Change-Id: Icf1a10052a049e68fd0f665958f36dbe75ac46d5 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'examples')
0 files changed, 0 insertions, 0 deletions