If you have a "clicked" signal that emits the index that was clicked, there is no point in retrieving the index manually again.