diff options
author | Jonas Kvinge <jonas@jkvinge.net> | 2021-10-09 14:52:31 +0200 |
---|---|---|
committer | Jonas Kvinge <jonas@jkvinge.net> | 2021-10-12 12:52:02 +0200 |
commit | 18e1711f7a6b240bde9b8dc5366394c9b01b3a7f (patch) | |
tree | f68883738aa9af198ca2de5bb2e83148759acdd1 /src/corelib/time | |
parent | 231fec7ca2f61da7d94c8aa072b41fd7ee893861 (diff) |
corelib: Fix typos in documentation
Pick-to: 5.15 6.2
Change-Id: I64d63af708bc6ddaabd12450eb3089e5077f849e
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Diffstat (limited to 'src/corelib/time')
-rw-r--r-- | src/corelib/time/qcalendar.cpp | 2 | ||||
-rw-r--r-- | src/corelib/time/qdatetime.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/corelib/time/qcalendar.cpp b/src/corelib/time/qcalendar.cpp index 7fa64d6db3..0cf350254e 100644 --- a/src/corelib/time/qcalendar.cpp +++ b/src/corelib/time/qcalendar.cpp @@ -498,7 +498,7 @@ Q_GLOBAL_STATIC(QtPrivate::QCalendarRegistry, calendarRegistry); \section1 Instantiating backends Backends may be defined by third-party, plugin or user code. When such - custom backends are registered they shall be alloced a unique ID, by + custom backends are registered they shall be allocated a unique ID, by which client code may access it. A custom backend instance can have no names if access by name is not needed, or impractical (e.g. because the backend is not a singleton and constructing names for each instance would not make diff --git a/src/corelib/time/qdatetime.cpp b/src/corelib/time/qdatetime.cpp index f8b9724604..b537bddd1e 100644 --- a/src/corelib/time/qdatetime.cpp +++ b/src/corelib/time/qdatetime.cpp @@ -4483,7 +4483,7 @@ QDateTime QDateTime::addSecs(qint64 s) const } /*! - Returns a QDateTime object containing a datetime \a msecs miliseconds + Returns a QDateTime object containing a datetime \a msecs milliseconds later than the datetime of this object (or earlier if \a msecs is negative). |