--- a/videocollection/tsrc/stubs/inc/hblistview.h Fri Aug 06 09:43:48 2010 +0300
+++ b/videocollection/tsrc/stubs/inc/hblistview.h Mon Aug 23 14:27:29 2010 +0300
@@ -242,9 +242,7 @@
*/
void scrollTo(const QModelIndex &index)
{
- Q_UNUSED(index);
-
- // nop
+ mLatestScrollToIndex = index;
}
/**
@@ -404,6 +402,11 @@
static bool mLatestEnableValue;
/**
+ * latest index setted in scrollTo
+ */
+ static QModelIndex mLatestScrollToIndex;
+
+ /**
* index value to be returned from current index
*/
static QModelIndex mCurrentIndex;