summaryrefslogtreecommitdiffstats
path: root/src/widgets
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/widgets
parenta798b956b9786240a06142de078f56c28962a535 (diff)
Remove duplicate words and punctuation from documentation.
Change-Id: I5550c62d412510bc2c5acceb2cae7d2f2ef6a8d3 Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
Diffstat (limited to 'src/widgets')
-rw-r--r--src/widgets/graphicsview/qgraphicsanchorlayout.cpp2
-rw-r--r--src/widgets/kernel/qboxlayout.cpp2
-rw-r--r--src/widgets/kernel/qgesture.cpp4
-rw-r--r--src/widgets/widgets/qmdiarea.cpp2
4 files changed, 5 insertions, 5 deletions
diff --git a/src/widgets/graphicsview/qgraphicsanchorlayout.cpp b/src/widgets/graphicsview/qgraphicsanchorlayout.cpp
index d248db47d0..137f90ffe3 100644
--- a/src/widgets/graphicsview/qgraphicsanchorlayout.cpp
+++ b/src/widgets/graphicsview/qgraphicsanchorlayout.cpp
@@ -250,7 +250,7 @@ QGraphicsAnchorLayout::~QGraphicsAnchorLayout()
Creates an anchor between the edge \a firstEdge of item \a firstItem and the edge \a secondEdge
of item \a secondItem. The spacing of the anchor is picked up from the style. Anchors
between a layout edge and an item edge will have a size of 0.
- If there is already an anchor between the edges, the the new anchor will replace the old one.
+ If there is already an anchor between the edges, the new anchor will replace the old one.
\a firstItem and \a secondItem are automatically added to the layout if they are not part
of the layout. This means that count() can increase by up to 2.
diff --git a/src/widgets/kernel/qboxlayout.cpp b/src/widgets/kernel/qboxlayout.cpp
index 8382964129..d05efaa5b0 100644
--- a/src/widgets/kernel/qboxlayout.cpp
+++ b/src/widgets/kernel/qboxlayout.cpp
@@ -384,7 +384,7 @@ void QBoxLayoutPrivate::setupGeom()
}
a[i].empty = empty;
- a[i].spacing = 0; // might be be initialized with a non-zero value in a later iteration
+ a[i].spacing = 0; // might be initialized with a non-zero value in a later iteration
hasHfw = hasHfw || box->item->hasHeightForWidth();
}
diff --git a/src/widgets/kernel/qgesture.cpp b/src/widgets/kernel/qgesture.cpp
index 4b0082bf9e..28e3213c83 100644
--- a/src/widgets/kernel/qgesture.cpp
+++ b/src/widgets/kernel/qgesture.cpp
@@ -782,7 +782,7 @@ void QTapAndHoldGesture::setPosition(const QPointF &value)
/*!
Set the timeout, in milliseconds, before the gesture triggers.
- The recognizer will detect a touch down and and if \a msecs
+ The recognizer will detect a touch down and if \a msecs
later the touch is still down, it will trigger the QTapAndHoldGesture.
The default value is 700 milliseconds.
*/
@@ -795,7 +795,7 @@ void QTapAndHoldGesture::setTimeout(int msecs)
/*!
Gets the timeout, in milliseconds, before the gesture triggers.
- The recognizer will detect a touch down and and if timeout()
+ The recognizer will detect a touch down and if timeout()
later the touch is still down, it will trigger the QTapAndHoldGesture.
The default value is 700 milliseconds.
*/
diff --git a/src/widgets/widgets/qmdiarea.cpp b/src/widgets/widgets/qmdiarea.cpp
index 42f9acf051..3b4f026130 100644
--- a/src/widgets/widgets/qmdiarea.cpp
+++ b/src/widgets/widgets/qmdiarea.cpp
@@ -2475,7 +2475,7 @@ bool QMdiArea::event(QEvent *event)
switch (event->type()) {
#ifdef Q_WS_WIN
// QWidgetPrivate::hide_helper activates another sub-window when closing a
- // modal dialog on Windows (see activateWindow() inside the the ifdef).
+ // modal dialog on Windows (see activateWindow() inside the ifdef).
case QEvent::WindowUnblocked:
d->activateCurrentWindow();
break;