summaryrefslogtreecommitdiffstats
path: root/src/widgets/itemviews/qabstractitemview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/widgets/itemviews/qabstractitemview.cpp')
-rw-r--r--src/widgets/itemviews/qabstractitemview.cpp11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/widgets/itemviews/qabstractitemview.cpp b/src/widgets/itemviews/qabstractitemview.cpp
index 726c2704c4..7edad74f54 100644
--- a/src/widgets/itemviews/qabstractitemview.cpp
+++ b/src/widgets/itemviews/qabstractitemview.cpp
@@ -1042,7 +1042,7 @@ QAbstractItemView::SelectionBehavior QAbstractItemView::selectionBehavior() cons
Sets the current item to be the item at \a index.
Unless the current selection mode is
- \l{QAbstractItemView::}{NoSelection}, the item is also be selected.
+ \l{QAbstractItemView::}{NoSelection}, the item is also selected.
Note that this function also updates the starting position for any
new selections the user performs.
@@ -1391,6 +1391,15 @@ bool QAbstractItemView::showDropIndicator() const
}
/*!
+ \since 5.2
+ \reimp
+*/
+QSize QAbstractItemView::viewportSizeHint() const
+{
+ return QAbstractScrollArea::viewportSizeHint();
+}
+
+/*!
\property QAbstractItemView::dragEnabled
\brief whether the view supports dragging of its own items