summaryrefslogtreecommitdiffstats
path: root/src/gui/itemviews/qlistwidget.cpp
diff options
context:
space:
mode:
authorGeir Vattekar <geir.vattekar@trolltech.com>2009-08-24 13:21:35 (GMT)
committerGeir Vattekar <geir.vattekar@trolltech.com>2009-08-24 13:21:35 (GMT)
commitc5b34ea67668e60a61c463633eaae0e629fee606 (patch)
tree4a683d9d49360ac9d52bf70e83a2d79d8ea32ed3 /src/gui/itemviews/qlistwidget.cpp
parent5c9206d8290232e8adc1a6cdb992a7c19d67269a (diff)
downloadQt-c5b34ea67668e60a61c463633eaae0e629fee606.zip
Qt-c5b34ea67668e60a61c463633eaae0e629fee606.tar.gz
Qt-c5b34ea67668e60a61c463633eaae0e629fee606.tar.bz2
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/qlistwidget.cpp')
-rw-r--r--src/gui/itemviews/qlistwidget.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/itemviews/qlistwidget.cpp b/src/gui/itemviews/qlistwidget.cpp
index 232b4d2..64f2883 100644
--- a/src/gui/itemviews/qlistwidget.cpp
+++ b/src/gui/itemviews/qlistwidget.cpp
@@ -1432,7 +1432,8 @@ QListWidgetItem *QListWidget::currentItem() const
/*!
Sets the current item to \a item.
- Depending on the current selection mode, the item may also be selected.
+ Unless the selection mode is \l{QAbstractItemView::}{NoSelection},
+ the item is also be selected.
*/
void QListWidget::setCurrentItem(QListWidgetItem *item)
{