Not sure why, but removing any reference to QModelIndexList fixed my problems. Now works like a charm.