diff options
author | Edward Welbourne <edward.welbourne@qt.io> | 2016-12-15 10:55:36 +0100 |
---|---|---|
committer | Edward Welbourne <edward.welbourne@qt.io> | 2017-04-18 12:56:33 +0000 |
commit | df252fc2051a6d2939c77244e74aca4a115d7cce (patch) | |
tree | c3bb9ccfa4affa8cd349004fb75759623b46b7a3 /src/platformsupport/themes | |
parent | e764f345834cfc5052967da100cc26900a97fbb5 (diff) |
Tidy up QDateTimeParser in assorted petty ways
A bit-field was necessarily equal to either zero or its (single-bit)
mask; so comparing to the mask was superfluous.
A local value set and then conditionally over-ridden could easily be
made const by using the condition in a ?: assignment.
A use of qMin() lent itself to turning into a simple conditional
assignment.
Change-Id: I541d98044b23b8c51e6169f617a5841ba8fffc55
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/platformsupport/themes')
0 files changed, 0 insertions, 0 deletions