summaryrefslogtreecommitdiffstats
path: root/src/gui/itemviews/qabstractitemview_p.h
diff options
context:
space:
mode:
authorThierry Bastian <thierry.bastian@nokia.com>2009-04-30 10:07:59 (GMT)
committerThierry Bastian <thierry.bastian@nokia.com>2009-04-30 10:10:14 (GMT)
commitc70eae8288cccb92e54e3c73f0ca257af033178a (patch)
tree357a763fa1537ec6c54bedf375508d692bf06a50 /src/gui/itemviews/qabstractitemview_p.h
parent2c6fdd89086977708850043a075b2b880bd22c9e (diff)
downloadQt-c70eae8288cccb92e54e3c73f0ca257af033178a.zip
Qt-c70eae8288cccb92e54e3c73f0ca257af033178a.tar.gz
Qt-c70eae8288cccb92e54e3c73f0ca257af033178a.tar.bz2
Fixes a possible issue in itemviws where we would not scroll to the
current item on show Task-number: 252534 Reviewed-by: ogoffart
Diffstat (limited to 'src/gui/itemviews/qabstractitemview_p.h')
-rw-r--r--src/gui/itemviews/qabstractitemview_p.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/itemviews/qabstractitemview_p.h b/src/gui/itemviews/qabstractitemview_p.h
index 37fe4a2..16bd1ab 100644
--- a/src/gui/itemviews/qabstractitemview_p.h
+++ b/src/gui/itemviews/qabstractitemview_p.h
@@ -359,6 +359,7 @@ public:
QBasicTimer autoScrollTimer;
int autoScrollMargin;
int autoScrollCount;
+ bool shouldScrollToCurrentOnShow; //used to know if we should scroll to current on show event
bool alternatingColors;