This has been committed by accident in
06dd174f.
itemView(&view)->setCurrentIndex(index45);
const int scrollPosX = itemView(&view)->horizontalScrollBar()->value();
const int scrollPosY = itemView(&view)->verticalScrollBar()->value();
itemView(&view)->setCurrentIndex(index45);
const int scrollPosX = itemView(&view)->horizontalScrollBar()->value();
const int scrollPosY = itemView(&view)->verticalScrollBar()->value();
// Save the view state
QByteArray viewState;
// Save the view state
QByteArray viewState;