diff options
author | Pierre Rossi <pierre.rossi@digia.com> | 2014-05-08 14:03:30 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-05-16 16:57:49 +0200 |
commit | b43774a9b89ed9fe7276b4632ff415bf0b925e41 (patch) | |
tree | 5e04ae3fba8b01badb97d2880fdcc7a7c056974e /src/core | |
parent | 23f035b4975ddd31a5b0a193a4d4dba705c99e98 (diff) |
[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: Jocelyn Turcotte <jocelyn.turcotte@digia.com>
Diffstat (limited to 'src/core')
0 files changed, 0 insertions, 0 deletions