summaryrefslogtreecommitdiffstats
path: root/src/corelib/time/qdatetime_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/corelib/time/qdatetime_p.h')
-rw-r--r--src/corelib/time/qdatetime_p.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/corelib/time/qdatetime_p.h b/src/corelib/time/qdatetime_p.h
index f4f00a8b9b..c500b023c4 100644
--- a/src/corelib/time/qdatetime_p.h
+++ b/src/corelib/time/qdatetime_p.h
@@ -110,11 +110,11 @@ public:
DaylightMask = SetToStandardTime | SetToDaylightTime
};
- static QDateTime::Data create(const QDate &toDate, const QTime &toTime, Qt::TimeSpec toSpec,
+ static QDateTime::Data create(QDate toDate, QTime toTime, Qt::TimeSpec toSpec,
int offsetSeconds);
#if QT_CONFIG(timezone)
- static QDateTime::Data create(const QDate &toDate, const QTime &toTime, const QTimeZone & timeZone);
+ static QDateTime::Data create(QDate toDate, QTime toTime, const QTimeZone & timeZone);
#endif // timezone
StatusFlags m_status = StatusFlag(Qt::LocalTime << TimeSpecShift);