summaryrefslogtreecommitdiff
path: root/examples/script/qscript
diff options
context:
space:
mode:
authorEdward Welbourne <edward.welbourne@qt.io>2019-04-08 14:56:10 +0200
committerEdward Welbourne <edward.welbourne@qt.io>2019-04-09 09:12:24 +0000
commit8355a7d1af3d2658a7409b0b0324b6863c9fdf2b (patch)
tree6a71ad1b5c97c35da8ac853d31846eda78e4c3d5 /examples/script/qscript
parentf06719db0e8fd84080042f9b23b83db47d6453f7 (diff)
downloadqtscript-8355a7d1af3d2658a7409b0b0324b6863c9fdf2b.tar.gz
Use QDateTime::fromMSecsSinceEpoch(0) to get the epoch
... rather than hand-constructing it. This saves constructing two intermediate objects and gets the same result. Change-Id: Iaeadb92263b063c4c96c8d8ca151d7a2d99aa5e5 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'examples/script/qscript')
0 files changed, 0 insertions, 0 deletions