summaryrefslogtreecommitdiffstats
path: root/src/widgets
diff options
context:
space:
mode:
Diffstat (limited to 'src/widgets')
-rw-r--r--src/widgets/doc/src/modelview.qdoc4
-rw-r--r--src/widgets/graphicsview/qgraphicssceneevent.cpp4
-rw-r--r--src/widgets/styles/qstyleoption.cpp2
3 files changed, 5 insertions, 5 deletions
diff --git a/src/widgets/doc/src/modelview.qdoc b/src/widgets/doc/src/modelview.qdoc
index b2f9da9563..f094a58a91 100644
--- a/src/widgets/doc/src/modelview.qdoc
+++ b/src/widgets/doc/src/modelview.qdoc
@@ -463,7 +463,7 @@
We get the model index that corresponds to the selection by calling
\l{QItemSelectionModel::currentIndex()}{treeView->selectionModel()->currentIndex()}
- and we get the the field's string by using the model index. Then we just
+ and we get the field's string by using the model index. Then we just
calculate the item's \c hierarchyLevel. Top level items do not have parents
and the \l{QAbstractItemModel::}{parent()} method will return a default
constructed \l{QModelIndex}{QModelIndex()}. This is why we use the
@@ -548,7 +548,7 @@
the underlying data. The data can be looked up by calling
\l{QModelIndex::data()}{index.data()}. The delegate's
\l{QAbstractItemDelegate::}{sizeHint()} method is used to obtain each
- star's dimensions, so the the cell will provide enough height and width to
+ star's dimensions, so the cell will provide enough height and width to
accommodate the stars.
Writing custom delegates is the right choice if you want to show your data
diff --git a/src/widgets/graphicsview/qgraphicssceneevent.cpp b/src/widgets/graphicsview/qgraphicssceneevent.cpp
index 8eb1395a45..631aa7bf19 100644
--- a/src/widgets/graphicsview/qgraphicssceneevent.cpp
+++ b/src/widgets/graphicsview/qgraphicssceneevent.cpp
@@ -874,7 +874,7 @@ void QGraphicsSceneContextMenuEvent::setPos(const QPointF &pos)
/*!
Returns the position of the mouse cursor in scene coordinates at the moment the
- the context menu was requested.
+ context menu was requested.
\sa pos(), screenPos()
*/
@@ -899,7 +899,7 @@ void QGraphicsSceneContextMenuEvent::setScenePos(const QPointF &pos)
/*!
Returns the position of the mouse cursor in screen coordinates at the moment the
- the context menu was requested.
+ context menu was requested.
\sa pos(), scenePos()
*/
diff --git a/src/widgets/styles/qstyleoption.cpp b/src/widgets/styles/qstyleoption.cpp
index 5fe071087e..5913b2f261 100644
--- a/src/widgets/styles/qstyleoption.cpp
+++ b/src/widgets/styles/qstyleoption.cpp
@@ -1116,7 +1116,7 @@ QStyleOptionToolBar::QStyleOptionToolBar(int version)
The order of the positions within a line starts at the top of a
vertical line, and from the left within a horizontal line. The
- order of the positions for the lines is always from the the
+ order of the positions for the lines is always from the
parent widget's boundary edges.
\value Beginning The toolbar is located at the beginning of the line,