--- a/src/hbwidgets/itemviews/hbabstractitemcontainer_p.cpp Wed Jun 23 18:33:25 2010 +0300
+++ b/src/hbwidgets/itemviews/hbabstractitemcontainer_p.cpp Tue Jul 06 14:36:53 2010 +0300
@@ -27,7 +27,6 @@
#include "hbabstractviewitem.h"
#include "hbabstractitemview.h"
-#include "hbabstractitemview_p.h"
#include "hbmodeliterator.h"
#include <hbapplication.h>
@@ -481,11 +480,7 @@
if (!delta.isNull()) {
q->setPos(q->pos() - delta);
- if (mItemView) {
- // this will force the HbScrollArea to adjust the content correctly. Adjustment
- // is not done in the setPos generated event handling by default to speed up scrolling.
- HbAbstractItemViewPrivate::d_ptr(mItemView)->adjustContent();
- }
+ adjustContent();
}
}
}