summaryrefslogtreecommitdiffstats
path: root/src/gui/itemviews/qlistwidget.cpp
diff options
context:
space:
mode:
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)
{