Bug/fix cell for element after deleting or inserting rows

QuickDialogTableView::visibleIndexForElement: returns an incorrect result after rows have been deleted dynamically from the tableview.

Since this method gives incorrect results and is only used in 1 place, I deleted it and replaced it with QElement::getIndexPath which returns the correct result.