Commit 23fe13c5 authored by Ingo Klöcker's avatar Ingo Klöcker
Browse files

Use the same text for display and accessibility tools

Before this change screen readers only got the name from the underlying
key list model which isn't sufficient for identifying the right key.

GnuPG-bug-id: 5845
parent 5688e83d
Pipeline #224927 passed with stage
in 1 minute and 27 seconds
......@@ -269,7 +269,8 @@ public:
}
switch (role) {
case Qt::DisplayRole: {
case Qt::DisplayRole:
case Qt::AccessibleTextRole: {
const auto userID = key.userID(0);
QString name;
QString email;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment