summaryrefslogtreecommitdiffstats
path: root/src/corelib
diff options
context:
space:
mode:
authorMitch Curtis <mitch.curtis@digia.com>2012-09-24 18:12:43 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2012-09-26 04:03:20 +0200
commit6b6fefad48abed28df69d0fa830accbb0c8dcb4d (patch)
treeb62d78dd114839ec4890727e77ca2563cba11ca6 /src/corelib
parenta798b956b9786240a06142de078f56c28962a535 (diff)
Remove duplicate words and punctuation from documentation.
Change-Id: I5550c62d412510bc2c5acceb2cae7d2f2ef6a8d3 Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
Diffstat (limited to 'src/corelib')
-rw-r--r--src/corelib/global/qglobal.cpp2
-rw-r--r--src/corelib/json/qjsonobject.cpp2
-rw-r--r--src/corelib/kernel/qsystemerror.cpp2
-rw-r--r--src/corelib/mimetypes/qmimetype.cpp2
4 files changed, 4 insertions, 4 deletions
diff --git a/src/corelib/global/qglobal.cpp b/src/corelib/global/qglobal.cpp
index 1c615dc95f..6580bfbf10 100644
--- a/src/corelib/global/qglobal.cpp
+++ b/src/corelib/global/qglobal.cpp
@@ -1988,7 +1988,7 @@ namespace {
// indicating success or not
// b) the GNU version, which returns a char*, which may or may not
// be the beginning of the buffer we used
- // The GNU libc manpage for strerror_r says you should use the the XSI
+ // The GNU libc manpage for strerror_r says you should use the XSI
// version in portable code. However, it's impossible to do that if
// _GNU_SOURCE is defined so we use C++ overloading to decide what to do
// depending on the return type
diff --git a/src/corelib/json/qjsonobject.cpp b/src/corelib/json/qjsonobject.cpp
index c93a4f811d..728bbbd0ec 100644
--- a/src/corelib/json/qjsonobject.cpp
+++ b/src/corelib/json/qjsonobject.cpp
@@ -219,7 +219,7 @@ QStringList QJsonObject::keys() const
}
/*!
- Returns the the number of (key, value) pairs stored in the object.
+ Returns the number of (key, value) pairs stored in the object.
*/
int QJsonObject::size() const
{
diff --git a/src/corelib/kernel/qsystemerror.cpp b/src/corelib/kernel/qsystemerror.cpp
index 76cca16932..bf8121b1b3 100644
--- a/src/corelib/kernel/qsystemerror.cpp
+++ b/src/corelib/kernel/qsystemerror.cpp
@@ -65,7 +65,7 @@ namespace {
// indicating success or not
// b) the GNU version, which returns a char*, which may or may not
// be the beginning of the buffer we used
- // The GNU libc manpage for strerror_r says you should use the the XSI
+ // The GNU libc manpage for strerror_r says you should use the XSI
// version in portable code. However, it's impossible to do that if
// _GNU_SOURCE is defined so we use C++ overloading to decide what to do
// depending on the return type
diff --git a/src/corelib/mimetypes/qmimetype.cpp b/src/corelib/mimetypes/qmimetype.cpp
index f14c32c1b1..9be613924e 100644
--- a/src/corelib/mimetypes/qmimetype.cpp
+++ b/src/corelib/mimetypes/qmimetype.cpp
@@ -359,7 +359,7 @@ QStringList QMimeType::suffixes() const
QStringList result;
foreach (const QString &pattern, d->globPatterns) {
- // Not a simple suffix if if looks like: README or *. or *.* or *.JP*G or *.JP?
+ // Not a simple suffix if it looks like: README or *. or *.* or *.JP*G or *.JP?
if (pattern.startsWith(QLatin1String("*.")) &&
pattern.length() > 2 &&
pattern.indexOf(QLatin1Char('*'), 2) < 0 && pattern.indexOf(QLatin1Char('?'), 2) < 0) {