Commit b43774a9 authored by Pierre Rossi's avatar Pierre Rossi Committed by The Qt Project
Browse files

[Widgets] Tooltip word wrap fixup


QTooltip's documentation states that "rich text displayed in a
tool tip is implicitly word-wrapped". This seems to be a more
desirable behavior for our needs.
To mitigate any potential malicious tooltip contents, we escape
any eventual html entities, and truncate to a reasonable size.

Change-Id: Iae3ea80e7660840aae39d228d1177dcc56f4a032
Reviewed-by: default avatarJocelyn Turcotte <jocelyn.turcotte@digia.com>
parent 23f035b4
Showing with 6 additions and 1 deletion
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