diff options
author | Sergio Ahumada <sahumada@blackberry.com> | 2014-03-01 15:39:53 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-03-03 18:24:29 +0100 |
commit | 7e872de76ee0591d4fea72f4ef07637ca5f7ca0d (patch) | |
tree | 32a8bc4e4d06e7af84469a84fd1771ae891a8de1 /src/corelib | |
parent | 2b15c9c256e5be597cfc3e8165d9b1a9047cfa7c (diff) |
Fix some typos
Change-Id: I7dbe938bff5ac3ab50a0197f94bdb2f6c22fbd16
Reviewed-by: Kevin Krammer <kevin.krammer@kdab.com>
Reviewed-by: Mitch Curtis <mitch.curtis@digia.com>
Diffstat (limited to 'src/corelib')
-rw-r--r-- | src/corelib/doc/src/eventsandfilters.qdoc | 2 | ||||
-rw-r--r-- | src/corelib/tools/qdatetimeparser_p.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/corelib/doc/src/eventsandfilters.qdoc b/src/corelib/doc/src/eventsandfilters.qdoc index cd31e36dee..a880cc8187 100644 --- a/src/corelib/doc/src/eventsandfilters.qdoc +++ b/src/corelib/doc/src/eventsandfilters.qdoc @@ -208,7 +208,7 @@ \l{QCoreApplication::}{postEvent()} is also used during object initialization, since the posted event will typically be dispatched very soon after the initialization of the object is complete. - When implementing a widget, it is important to realise that events + When implementing a widget, it is important to realize that events can be delivered very early in its lifetime so, in its constructor, be sure to initialize member variables early on, before there's any chance that it might receive an event. diff --git a/src/corelib/tools/qdatetimeparser_p.h b/src/corelib/tools/qdatetimeparser_p.h index 2b4f59a23a..e2513b43a5 100644 --- a/src/corelib/tools/qdatetimeparser_p.h +++ b/src/corelib/tools/qdatetimeparser_p.h @@ -241,7 +241,7 @@ public: 3. User increments month: 31/03/2000 At step 1, cachedDay stores 31. At step 2, the 31 is invalid for February, so the cachedDay is not updated. - At step 3, the the month is changed to March, for which 31 is a valid day. Since 29 < 31, the day is set to cachedDay. + At step 3, the month is changed to March, for which 31 is a valid day. Since 29 < 31, the day is set to cachedDay. This is good for when users have selected their desired day and are scrolling up or down in the month or year section and do not want smaller months (or non-leap years) to alter the day that they chose. */ |