summaryrefslogtreecommitdiffstats
path: root/src/gui/platform/unix/qgenericunixservices.cpp
diff options
context:
space:
mode:
authorEdward Welbourne <edward.welbourne@qt.io>2022-08-22 19:57:23 +0200
committerEdward Welbourne <edward.welbourne@qt.io>2022-08-25 20:34:54 +0200
commit538535d88fbf749555f49ba277254ea819498cdc (patch)
treef537f08056809ea7b41f06c7222944c9b21a4f5c /src/gui/platform/unix/qgenericunixservices.cpp
parentef1ff65b0a3da280a33dacf94e9c3d54ba42671d (diff)
Use QRoundingDown when converting UTC to local time
It simplifies the code. Also add a comment on why the result is then checked for consistency. Change-Id: Ic2d408c0ea39bc164e9a725284044b7dbd1f287c Reviewed-by: Thiago Macieira <thiago.macieira@intel.com> Reviewed-by: MÃ¥rten Nordheim <marten.nordheim@qt.io>
Diffstat (limited to 'src/gui/platform/unix/qgenericunixservices.cpp')
0 files changed, 0 insertions, 0 deletions