diff options
author | Edward Welbourne <edward.welbourne@qt.io> | 2019-03-21 14:58:03 +0100 |
---|---|---|
committer | Edward Welbourne <edward.welbourne@qt.io> | 2020-06-23 14:01:12 +0200 |
commit | bcc3472aa231d0a65351b73ce9c75f7688be6623 (patch) | |
tree | ba9df3ea12ce93b9544a450a7e5c3a2bff1b92ea /examples | |
parent | a04411119ead3d4473e4f0ac4bceedc585977b2f (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