diff options
author | Michael Weghorn <m.weghorn@posteo.de> | 2019-06-27 11:32:29 +0200 |
---|---|---|
committer | Michael Weghorn <m.weghorn@posteo.de> | 2019-07-22 12:58:06 +0000 |
commit | 7425d00427ea62f7b654b873dc61a1f20204cac4 (patch) | |
tree | aa76ba2390ada4fccaaf6d0b81695445352523df /src/libs | |
parent | 90c6bc578fb0e81ebbbfcebddc7e4191ae22d94b (diff) |
Escape tooltip text
The tooltip text may contain characters that need
to be escaped without 'Qt::mightBeRichText' categorizing
this as rich text.
This is needed e.g. to show the proper type when
hovering over a variable of type 'std::vector<int>'
(or some smart pointer) in edit view (no debugging
session).
Otherwise, just "std::vector" is shown since
'Qt::mightBeRichText' returns false for that string
and "<int>" is then probably just ignored as an invalid
tag when the tooltip is displayed.
Change-Id: I25ded2b21e4350a1036ab4b3d8f144383aee776d
Reviewed-by: David Schulz <david.schulz@qt.io>
Reviewed-by: hjk <hjk@qt.io>
Diffstat (limited to 'src/libs')
0 files changed, 0 insertions, 0 deletions