summaryrefslogtreecommitdiffstats
path: root/src/declarative/fx/qfxlistview.cpp
diff options
context:
space:
mode:
authorMartin Jones <martin.jones@nokia.com>2009-09-02 01:37:35 (GMT)
committerMartin Jones <martin.jones@nokia.com>2009-09-02 01:37:35 (GMT)
commit8eed5aa528f668acfa1831432f97f7333c7d9e71 (patch)
treeba995952da3a2cf02057fffd1e401c40c350891e /src/declarative/fx/qfxlistview.cpp
parent4e5086762521828e11c1e33f062b45c16cc109f8 (diff)
downloadQt-8eed5aa528f668acfa1831432f97f7333c7d9e71.zip
Qt-8eed5aa528f668acfa1831432f97f7333c7d9e71.tar.gz
Qt-8eed5aa528f668acfa1831432f97f7333c7d9e71.tar.bz2
Flickable locked property changed to interactive.
Note that the meaning of the property has been reversed.
Diffstat (limited to 'src/declarative/fx/qfxlistview.cpp')
-rw-r--r--src/declarative/fx/qfxlistview.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/declarative/fx/qfxlistview.cpp b/src/declarative/fx/qfxlistview.cpp
index 147c977..34fe827 100644
--- a/src/declarative/fx/qfxlistview.cpp
+++ b/src/declarative/fx/qfxlistview.cpp
@@ -1344,7 +1344,7 @@ qreal QFxListView::maxXExtent() const
void QFxListView::keyPressEvent(QKeyEvent *event)
{
Q_D(QFxListView);
- if (d->model && d->model->count() && !d->locked) {
+ if (d->model && d->model->count() && d->interactive) {
if ((d->orient == Qt::Horizontal && event->key() == Qt::Key_Left)
|| (d->orient == Qt::Vertical && event->key() == Qt::Key_Up)) {
if (currentIndex() > 0 || d->wrap) {