Skip to content

Commit 85f4277

Browse files
author
Joerg Bornemann
committed
Doc: fix typo
Reviewed-by: mauricek
1 parent 03c2fb7 commit 85f4277

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/gui/itemviews/qabstractitemview.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -823,7 +823,7 @@ QVariant QAbstractItemView::inputMethodQuery(Qt::InputMethodQuery query) const
823823
deleted. QAbstractItemView does not take ownership of \a delegate.
824824
825825
\note If a delegate has been assigned to both a row and a column, the row
826-
delegate (i.e., this delegate) will take presedence and manage the
826+
delegate (i.e., this delegate) will take precedence and manage the
827827
intersecting cell index.
828828
829829
\warning You should not share the same instance of a delegate between views.
@@ -881,7 +881,7 @@ QAbstractItemDelegate *QAbstractItemView::itemDelegateForRow(int row) const
881881
deleted. QAbstractItemView does not take ownership of \a delegate.
882882
883883
\note If a delegate has been assigned to both a row and a column, the row
884-
delegate will take presedence and manage the intersecting cell index.
884+
delegate will take precedence and manage the intersecting cell index.
885885
886886
\warning You should not share the same instance of a delegate between views.
887887
Doing so can cause incorrect or unintuitive editing behavior since each

src/gui/itemviews/qstandarditemmodel.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1130,7 +1130,7 @@ Qt::ItemFlags QStandardItem::flags() const
11301130
meaning that the user can interact with the item; if \a enabled is false, the
11311131
user cannot interact with the item.
11321132
1133-
This flag takes presedence over the other item flags; e.g. if an item is not
1133+
This flag takes precedence over the other item flags; e.g. if an item is not
11341134
enabled, it cannot be selected by the user, even if the Qt::ItemIsSelectable
11351135
flag has been set.
11361136

0 commit comments

Comments
 (0)