summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorEdward Welbourne <edward.welbourne@qt.io>2019-03-21 14:58:03 +0100
committerEdward Welbourne <edward.welbourne@qt.io>2020-06-23 14:01:12 +0200
commitbcc3472aa231d0a65351b73ce9c75f7688be6623 (patch)
treeba9df3ea12ce93b9544a450a7e5c3a2bff1b92ea /examples
parenta04411119ead3d4473e4f0ac4bceedc585977b2f (diff)
Add a warning and tidy some trivia
An attempt to setSpec(TimeZone) gets treated as setSpec(LocalTime), as the method has no parameter to carry *which* zone; this was done silently, but should be brought to the caller's attention. So warn. Moved a declaration closer to its use, folded an if/else into a single assignment using ?: and removed a fatuous \fn just before the function it desribed. Change-Id: Ia35c87e0ba373675d3ae1e6ef3bf05016c06c48d Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'examples')
0 files changed, 0 insertions, 0 deletions