summaryrefslogtreecommitdiffstats
path: root/src/corelib
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@nokia.com>2010-03-31 19:12:17 (GMT)
committerThiago Macieira <thiago.macieira@nokia.com>2010-03-31 19:12:58 (GMT)
commitbf04c256c8d39df1206c197821df8913f90bb43c (patch)
tree897daf36e29fbffdd858ae9031dfacf2cea36d8c /src/corelib
parent15f0dccc03440cb3c07133d2565da32b892ca2fc (diff)
downloadQt-bf04c256c8d39df1206c197821df8913f90bb43c.zip
Qt-bf04c256c8d39df1206c197821df8913f90bb43c.tar.gz
Qt-bf04c256c8d39df1206c197821df8913f90bb43c.tar.bz2
Fix compilation on Windows: forgot to change one toTime_tHelper
Diffstat (limited to 'src/corelib')
-rw-r--r--src/corelib/tools/qdatetime.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/tools/qdatetime.cpp b/src/corelib/tools/qdatetime.cpp
index 69b232d..dc1666a 100644
--- a/src/corelib/tools/qdatetime.cpp
+++ b/src/corelib/tools/qdatetime.cpp
@@ -4013,7 +4013,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 = toTime_tHelper(fakeDate, time);
+ time_t secsSince1Jan1970UTC = toMSecsSinceEpoch_helper(fakeDate.toJulianDay(), QTime().msecsTo(time));
#else
#if defined(Q_OS_WIN)
_tzset();