Commit 02bdc02e authored by Ilkka Ollakka's avatar Ilkka Ollakka

Qt4: coverflow, fix off-by-one in scrollto

parent fee9386c
......@@ -403,7 +403,7 @@ QRect PicFlowView::visualRect(const QModelIndex &index ) const
void PicFlowView::scrollTo(const QModelIndex &index, QAbstractItemView::ScrollHint)
{
picFlow->showSlide( index.row() );
picFlow->showSlide( index.row()-1 );
}
QModelIndex PicFlowView::indexAt(const QPoint &) const
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment