summaryrefslogtreecommitdiffstats
path: root/src/corelib/tools/qtimezoneprivate_win.cpp
diff options
context:
space:
mode:
authorMarc Mutz <marc.mutz@kdab.com>2017-02-21 13:30:14 +0100
committerMarc Mutz <marc.mutz@kdab.com>2017-02-23 05:45:49 +0000
commit4cd002402fe12f5e50d8267d0e9c39e525b99c2d (patch)
tree7d093a9c1bdab38e5bbc92665901842a889a54ac /src/corelib/tools/qtimezoneprivate_win.cpp
parent2cda991ab19cbe115dfa965acc3686f067960773 (diff)
Simplify QTzTimeZonePrivate implementation
- Don't init m_icu with 0. It's a QSharedDataPointer, which inits to nullptr anyway. - The copy ctor didn't do anything out of the ordinary, so = default it. It's also only used in the implementation of clone(), so make it private. Removes three #if QT_CONFIG blocks. We can't use ctor delegation here, because systemTimeZoneId() is a virtual function. Change-Id: I2cd06c3349686b6f21c897acb5c12185a36d5b9f Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/corelib/tools/qtimezoneprivate_win.cpp')
0 files changed, 0 insertions, 0 deletions