diff options
author | Rolland Dudemaine <rolland@ghs.com> | 2015-10-27 02:24:00 +0100 |
---|---|---|
committer | Rolland Dudemaine <rolland@ghs.com> | 2016-03-22 10:58:56 +0000 |
commit | 8256c680c2b0323d47b707159f4f53982999ed19 (patch) | |
tree | 84b24cdf35bdd3a3a47dc8a4167580bed594c9fa | |
parent | 4d838e31a90c886044a1e9638e827d543c08c90b (diff) |
Do not use timezone at all for Q_OS_INTEGRITY.
Change-Id: I3674b86b65a6ec47c89cc4f49e00361e9b87a7c3
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
-rw-r--r-- | src/corelib/tools/qdatetime.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/corelib/tools/qdatetime.cpp b/src/corelib/tools/qdatetime.cpp index e794da8326..221cdfcdb5 100644 --- a/src/corelib/tools/qdatetime.cpp +++ b/src/corelib/tools/qdatetime.cpp @@ -2178,6 +2178,8 @@ static int qt_timezone() // - It also takes DST into account, so we need to adjust it to always // get the Standard Time offset. return -t.tm_gmtoff + (t.tm_isdst ? SECS_PER_HOUR : 0L); +#elif defined(Q_OS_INTEGRITY) + return 0; #else return timezone; #endif // Q_OS_WIN |