summaryrefslogtreecommitdiffstats
path: root/src/gui/text/qtextengine_p.h
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@digia.com>2014-09-16 14:18:36 +0200
committerAllan Sandfeld Jensen <allan.jensen@digia.com>2014-09-18 00:13:28 +0200
commit9b556afc5a2507077dff54c18a2b19c7df3c4575 (patch)
treec64534b406f6856ae5a3061a676af9285b248be0 /src/gui/text/qtextengine_p.h
parent82dbea55a746b5ba58316186b201dc6505782d17 (diff)
Fix menu mnemonic inside ligatures
The code to draw underlines on specific characters in widget menu could not handle ligatures. Instead of using special code to handle this case this patch changes the mnemonic underlines to use normal format-ranges making the text engine deal with splitting ligatures as necessary. Task-number: QTBUG-20960 Change-Id: I6159110eae7aa8c819af16ba4a393d758871e2e0 Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com>
Diffstat (limited to 'src/gui/text/qtextengine_p.h')
-rw-r--r--src/gui/text/qtextengine_p.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/gui/text/qtextengine_p.h b/src/gui/text/qtextengine_p.h
index 13879912d3..8ea2d5efb9 100644
--- a/src/gui/text/qtextengine_p.h
+++ b/src/gui/text/qtextengine_p.h
@@ -563,8 +563,6 @@ public:
uint useRawFont : 1;
#endif
- int *underlinePositions;
-
mutable LayoutData *layoutData;
ItemDecorationList underlineList;