diff options
author | Edward Welbourne <edward.welbourne@qt.io> | 2019-11-27 15:25:29 +0100 |
---|---|---|
committer | Edward Welbourne <edward.welbourne@qt.io> | 2019-12-03 18:59:58 +0100 |
commit | deb166a5ff0ed3693b7d9a1b6a02b41f3f196b39 (patch) | |
tree | 156cc4af77a3121dd3802a7b014b8f7fe4766207 /src/opengl | |
parent | 9f79ab360fd8a504601d3c66a7773eeaa09bffde (diff) |
Make QMacTimeZonePrivate default constructor more efficient
Inline systemTimeZoneId() in it to save the need for init().
We thus save the lookup by name for a time-zone object, when that
object is what we took the name from anyway.
Do some minor tidy-up in the other constructors and add an assert to
systemTimeZoneId() to match the new one in the default constructor.
Change-Id: Ib70acf31bdb4a4fa1306eebd1fd5f00ad6b89bcc
Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
Diffstat (limited to 'src/opengl')
0 files changed, 0 insertions, 0 deletions