summaryrefslogtreecommitdiffstats
path: root/src/gui/itemviews/qabstractitemview_p.h
diff options
context:
space:
mode:
authorThierry Bastian <thierry.bastian@nokia.com>2009-07-01 08:22:15 (GMT)
committerThierry Bastian <thierry.bastian@nokia.com>2009-07-01 08:23:52 (GMT)
commit9cb231d773db6deb8fb145eb40aa949a2758d002 (patch)
tree40b5e699d6770175084a5e785405d5f3a1f6af8a /src/gui/itemviews/qabstractitemview_p.h
parent96850fcb6462736dabfc368c85a208cb92851fac (diff)
downloadQt-9cb231d773db6deb8fb145eb40aa949a2758d002.zip
Qt-9cb231d773db6deb8fb145eb40aa949a2758d002.tar.gz
Qt-9cb231d773db6deb8fb145eb40aa949a2758d002.tar.bz2
ItemViews: Fixed signal entered not being emitted when using the mouse
wheel The solution is to check the the current "entered item" hasn't change also when the scrollbars change values Task-number: 200665 Reviewed-by: janarve
Diffstat (limited to 'src/gui/itemviews/qabstractitemview_p.h')
-rw-r--r--src/gui/itemviews/qabstractitemview_p.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/itemviews/qabstractitemview_p.h b/src/gui/itemviews/qabstractitemview_p.h
index 030147b..c2c1f32 100644
--- a/src/gui/itemviews/qabstractitemview_p.h
+++ b/src/gui/itemviews/qabstractitemview_p.h
@@ -139,6 +139,9 @@ public:
const QEvent *event) const;
virtual void selectAll(QItemSelectionModel::SelectionFlags command);
+ void checkMouseMove(const QPersistentModelIndex &index);
+ inline void checkMouseMove(const QPoint &pos) { checkMouseMove(q_func()->indexAt(pos)); }
+
inline QItemSelectionModel::SelectionFlags selectionBehaviorFlags() const
{
switch (selectionBehavior) {