Minimal nitpicky suggestion here, just for simplification/clarity, let's get the item we're interest in using first and use its properties later.
Feel free to ignore
} const QString &display = m_shownDisplayNames.at(index.row()) switch (role) {