summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorEdward Welbourne <edward.welbourne@qt.io>2017-10-26 20:53:33 +0200
committerEdward Welbourne <edward.welbourne@qt.io>2017-11-15 14:17:35 +0000
commited5f36eb10d0149783281a8f0e0215095d8b4de5 (patch)
treeddaff57ca38707249da40517a3b250a499a83147 /configure
parentfd7fc981d8f411d6a20d5f45eb31ed356a197bd2 (diff)
Avoid duplicate rules in QWinTimeZonePrivate::init()
It was iterating the full range of years, adding a rule for each year. The rules have a startYear member and are used for later years until the next rule's startYear, so we don't need to duplicate them; and the system APIs we get them from do support recurrent rules (with wYear set to 0), that apply to ranges of years. So propagate that recurrence and reuse rules where we can. Change-Id: Ifdd292d3f3d3e07969d7a02bb01f2a0110d32950 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'configure')
0 files changed, 0 insertions, 0 deletions