diff options
author | Geir Vattekar <geir.vattekar@trolltech.com> | 2009-08-24 15:21:35 +0200 |
---|---|---|
committer | Geir Vattekar <geir.vattekar@trolltech.com> | 2009-08-24 15:21:35 +0200 |
commit | c5b34ea67668e60a61c463633eaae0e629fee606 (patch) | |
tree | 4a683d9d49360ac9d52bf70e83a2d79d8ea32ed3 /src/gui/itemviews/qabstractitemview.cpp | |
parent | 5c9206d8290232e8adc1a6cdb992a7c19d67269a (diff) |
Doc: Said that an item set as the current item in an item view is also
selected unless the selection mode is NoSelection.
Task-number: 151920
Reviewed-by: Marius Bugge Monsen
Diffstat (limited to 'src/gui/itemviews/qabstractitemview.cpp')
-rw-r--r-- | src/gui/itemviews/qabstractitemview.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gui/itemviews/qabstractitemview.cpp b/src/gui/itemviews/qabstractitemview.cpp index 0671304970..bca5df74c0 100644 --- a/src/gui/itemviews/qabstractitemview.cpp +++ b/src/gui/itemviews/qabstractitemview.cpp @@ -908,7 +908,9 @@ QAbstractItemView::SelectionBehavior QAbstractItemView::selectionBehavior() cons /*! Sets the current item to be the item at \a index. - Depending on the current selection mode, the item may also be selected. + + Unless the current selection mode is + \l{QAbstractItemView::}{NoSelection}, the item is also be selected. Note that this function also updates the starting position for any new selections the user performs. |