Commit b7505eeb authored by Ilkka Ollakka's avatar Ilkka Ollakka

Qt4: showslide scroll to row instead of column

parent 48c56f9d
...@@ -403,8 +403,7 @@ QRect PicFlowView::visualRect(const QModelIndex &index ) const ...@@ -403,8 +403,7 @@ QRect PicFlowView::visualRect(const QModelIndex &index ) const
void PicFlowView::scrollTo(const QModelIndex &index, QAbstractItemView::ScrollHint) void PicFlowView::scrollTo(const QModelIndex &index, QAbstractItemView::ScrollHint)
{ {
if( index.column() >= 0 && picFlow->slideCount() > 0 ) picFlow->showSlide( index.row() );
picFlow->showSlide( index.column() );
} }
QModelIndex PicFlowView::indexAt(const QPoint &) const 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