diff options
author | Shane Kearns <shane.kearns@accenture.com> | 2010-04-20 15:12:27 (GMT) |
---|---|---|
committer | Shane Kearns <shane.kearns@accenture.com> | 2010-04-20 15:12:27 (GMT) |
commit | 2d88a85bd6e1b03e87ff5e8c67bbef5d4a439d06 (patch) | |
tree | d95f93f3bff7324c00d0910d2f84412c080039ec /src/corelib | |
parent | 4a059ff9042cca4105395f26f31d96f883fa416f (diff) | |
download | Qt-2d88a85bd6e1b03e87ff5e8c67bbef5d4a439d06.zip Qt-2d88a85bd6e1b03e87ff5e8c67bbef5d4a439d06.tar.gz Qt-2d88a85bd6e1b03e87ff5e8c67bbef5d4a439d06.tar.bz2 |
Fix test failures for qdatetime on symbian and wince
Reviewed-by: Thiago Macieira
Diffstat (limited to 'src/corelib')
-rw-r--r-- | src/corelib/tools/qdatetime.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/tools/qdatetime.cpp b/src/corelib/tools/qdatetime.cpp index 459d76a..36e5173 100644 --- a/src/corelib/tools/qdatetime.cpp +++ b/src/corelib/tools/qdatetime.cpp @@ -4016,7 +4016,7 @@ static void localToUtc(QDate &date, QTime &time, int isdst) localTM.tm_year = fakeDate.year() - 1900; localTM.tm_isdst = (int)isdst; #if defined(Q_OS_WINCE) || defined(Q_OS_SYMBIAN) - time_t secsSince1Jan1970UTC = toMSecsSinceEpoch_helper(fakeDate.toJulianDay(), QTime().msecsTo(time)); + time_t secsSince1Jan1970UTC = (toMSecsSinceEpoch_helper(fakeDate.toJulianDay(), QTime().msecsTo(time)) / 1000); #else #if defined(Q_OS_WIN) _tzset(); |