summaryrefslogtreecommitdiffstats
path: root/src/declarative/fx/qfxlistview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/declarative/fx/qfxlistview.cpp')
-rw-r--r--src/declarative/fx/qfxlistview.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/declarative/fx/qfxlistview.cpp b/src/declarative/fx/qfxlistview.cpp
index 889cfdd..351365d 100644
--- a/src/declarative/fx/qfxlistview.cpp
+++ b/src/declarative/fx/qfxlistview.cpp
@@ -46,6 +46,7 @@
#include "qfxlistview.h"
#include <qmlexpression.h>
+#include <QKeyEvent>
QT_BEGIN_NAMESPACE
class QFxListViewAttached : public QObject
@@ -292,7 +293,7 @@ public:
}
return -1; // Not in visibleList
}
-
+
bool mapRangeFromModel(int &index, int &count) const {
if (index + count < visibleIndex)
return false;