summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/windows/qwindowsglcontext.cpp
diff options
context:
space:
mode:
authorRaphael Kubo da Costa <rakuco@FreeBSD.org>2014-02-02 23:42:12 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-02-07 18:58:02 +0100
commitcd681c45de5db2f8ca7cca913ec8615c2c7a950a (patch)
treee938f97c80530c172a336ad89c943540f8363361 /src/plugins/platforms/windows/qwindowsglcontext.cpp
parentb3fcac3e0cf9377645981d4ca9880a0849132bed (diff)
Correctly manipulate tm_gmtoff the way qt_timezone() needs.
Follow-up to 91d3298: qt_timezone() expects the number of seconds west of UTC, whereas tm_gmtoff returns the number of seconds east of UTC, and contrary to the timezone variable it is not oblivious to DST. We have to account for those two facts and make sure we return a value compatible with what timezone would have. Change-Id: Iacb9077f50d4c847ac09e5a7e952d0e4cd22da1b Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@digia.com> Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/plugins/platforms/windows/qwindowsglcontext.cpp')
0 files changed, 0 insertions, 0 deletions