Commit 8a58b87b authored by Ingo Klöcker's avatar Ingo Klöcker
Browse files

Remove <html> tag from the tool tip

This will cause the tool tip to be displayed as a long line instead of
being word wrapped, but it prevents orca from reading out the <html> tag.

GnuPG-bug-id: 6046
parent c7c45ac3
......@@ -336,11 +336,9 @@ public:
mMissingOwnerTrustInfo = new KMessageWidget{q};
mSetOwnerTrustAction = new QAction{q};
mSetOwnerTrustAction->setText(i18nc("@action:button", "Set Owner Trust"));
mSetOwnerTrustAction->setToolTip(QLatin1String("<html>") +
i18nc("@info:tooltip",
mSetOwnerTrustAction->setToolTip(i18nc("@info:tooltip",
"Click to set the trust level of the selected certification key to ultimate trust. "
"This is what you usually want to do for your own keys.") +
QLatin1String("</html>"));
"This is what you usually want to do for your own keys."));
connect(mSetOwnerTrustAction, &QAction::triggered, q, [this] () { setOwnerTrust(); });
mMissingOwnerTrustInfo->addAction(mSetOwnerTrustAction);
mMissingOwnerTrustInfo->setVisible(false);
......
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